Forum Discussion
Custom GAL
- Feb 23, 2021
Please find below steps to create a customize GAL in your environment.
Create New Address Book Policy
Before Creating a policy, we have to create:
AddressList
GlobalAddressList
OfflineAddressBook
RoomListNew-GlobalAddressList -Name “GAL IT” -IncludedRecipients MailboxUsers -ConditionalDepartment IT
NEW-ADDRESSLIST -NAME “IT” -RECIPIENTFILTER {((RECIPIENTTYPE -EQ ‘USERMAILBOX’))} -RECIPIENTCONTAINER IT
NEW-OFFLINEADDRESSBOOK -NAME “IT OAB” -ADDRESSLISTS “IT”
New-AddressBookPolicy -Name “IT Team” -AddressLists “IT” -OfflineAddressBook “IT OAB” -GlobalAddressList “GAL IT” -RoomList “IT_confRoomList”
Set-Mailbox -Identity "Test1" -AddressBookPolicy ‘IT Team’
Regards,
MD
Please find below steps to create a customize GAL in your environment.
Create New Address Book Policy
Before Creating a policy, we have to create:
AddressList
GlobalAddressList
OfflineAddressBook
RoomList
New-GlobalAddressList -Name “GAL IT” -IncludedRecipients MailboxUsers -ConditionalDepartment IT
NEW-ADDRESSLIST -NAME “IT” -RECIPIENTFILTER {((RECIPIENTTYPE -EQ ‘USERMAILBOX’))} -RECIPIENTCONTAINER IT
NEW-OFFLINEADDRESSBOOK -NAME “IT OAB” -ADDRESSLISTS “IT”
New-AddressBookPolicy -Name “IT Team” -AddressLists “IT” -OfflineAddressBook “IT OAB” -GlobalAddressList “GAL IT” -RoomList “IT_confRoomList”
Set-Mailbox -Identity "Test1" -AddressBookPolicy ‘IT Team’
Regards,
MD
When trying to use the command for "GlobalAddressList" nothing appears, even having loaded the "ExchangeOnlineManagement".
Could you tell me what might be missing or what I'm doing wrong?!