Olá pessoal,

Hoje daremos uma dica para criar uma organização para seu cliente em um Exchange 2013 Multi tenant.

Abaixo os comandos para criar uma nova organização;

Procedimento:

Set-ADForest -Identity mada.corp -UPNSuffixes @{add=”clientex.com.br”}

New-AcceptedDomain -Name ‘clientex’ -DomainName clientex.com.br -DomainType:Authoritative

New-GlobalAddressList -Name ‘clientex – GAL’ -ConditionalCustomAttribute1 “clientex” -IncludedRecipients MailboxUsers -RecipientContainer “mada.corp/madahs/Exchange Hosting/clientex”

New-AddressList -Name “clientex – All Users” -RecipientFilter “(CustomAttribute1 -eq ‘clientex’) -and (ObjectClass -eq ‘User’)” -RecipientContainer “mada.corp/madahs/Exchange Hosting/clientex”

New-AddressList -Name “clientex – All Contacts” -RecipientFilter “(CustomAttribute1 -eq ‘clientex’) -and (ObjectClass -eq ‘Contact’)” -RecipientContainer “mada.corp/madahs/Exchange Hosting/clientex”

New-AddressList -Name “clientex – All Groups” -RecipientFilter “(CustomAttribute1 -eq ‘clientex’) -and (ObjectClass -eq ‘Group’)” -RecipientContainer “mada.corp/madahs/Exchange Hosting/clientex”

New-AddressList -Name “clientex – All Rooms” -RecipientFilter “{CustomAttribute1 -eq ‘clientex’} -and {RecipientDisplayType -eq ‘ConferenceRoomMailbox’}” -RecipientContainer “mada.corp/madahs/Exchange Hosting/clientex”

New-OfflineAddressBook -Name “clientex” -AddressLists “clientex – All Users”

New-EmailAddressPolicy -Name “clientex – EAP” -RecipientContainer “mada.corp/madahs/Exchange Hosting/clientex” -IncludedRecipients “AllRecipients” -ConditionalCustomAttribute1 “clientex” -EnabledEmailAddressTemplates “SMTP:%[email protected]”,”smtp:%g.%[email protected]”,”smtp:%[email protected]

New-AddressBookPolicy -Name “clientex” -AddressLists “clientex – All Users”, “clientex – All Contacts”, “clientex – All Groups” -GlobalAddressList “clientex – GAL” -OfflineAddressBook “clientex” -RoomList “clientex – All Rooms”

Conclusão

OBS: Garanta que no atributo CustomAttribute1 do objeto do usuário esteja cadastrado o nome do cliente (Ex: clientex)

Até a próxima.

Marco Antonio (Mada)