Concepts

Address book policies (ABPs) in Microsoft 365 Messaging provide a way to control the visibility of recipient information in a global address list (GAL) for different groups within an organization. ABPs allow you to segment the GAL based on specific criteria and assign them to different groups of users. In this article, we will explore how to manage address book policies to customize the GAL visibility.

Creating an Address Book Policy

To create an address book policy, you need to connect to Exchange Online using the Exchange Online PowerShell module. Once connected, you can use the following commands to create an ABP:

New-AddressBookPolicy -Name "ABPName" -AddressLists "AddressList1, AddressList2" -GlobalAddressList "GAL1" -OfflineAddressBook "OAB1" -RoomList "ConferenceRooms"

  • ABPName: Specify a name for the ABP.
  • AddressLists: This parameter specifies the address lists that should be included in the ABP. You can include multiple address lists by separating them with commas.
  • GlobalAddressList: Specifies the global address list (GAL) that should be associated with the ABP.
  • OfflineAddressBook: Specifies the offline address book (OAB) for the ABP.
  • RoomList: Specifies the room list that should be associated with the ABP.

Assigning an Address Book Policy to Users

After creating an ABP, you can assign it to specific groups of users. To do so, use the following command:

Set-Mailbox -Identity "User1" -AddressBookPolicy "ABPName"

  • User1: Specify the user’s identity (email address or username).
  • ABPName: Specify the name of the ABP to assign to the user.

You can also assign the ABP to multiple users in a single command. For example:

Get-User -RecipientTypeDetails UserMailbox -Filter {Department -eq "Sales"} | Set-Mailbox -AddressBookPolicy "ABPName"

This command retrieves all user mailboxes in the “Sales” department and assigns the specified ABP to them.

Verifying Address Book Policy Assignment

To verify the ABP assignment for a user, you can use the following command:

Get-Mailbox -Identity "User1" | Select AddressBookPolicy

This command displays the ABP assigned to “User1”. If the output is empty, the user is not assigned to any ABP.

Removing an Address Book Policy

To remove an ABP from a user, you can use the following command:

Set-Mailbox -Identity "User1" -AddressBookPolicy $null

This command removes the assigned ABP for “User1” and reverts back to the default ABP.

To remove an ABP entirely, use the following command:

Remove-AddressBookPolicy -Identity "ABPName"

This command deletes the specified ABP.

Conclusion

Address book policies (ABPs) in Microsoft 365 Messaging offer a powerful way to manage GAL visibility for different user groups within an organization. By creating and assigning ABPs, you can control the address lists, global address list (GAL), offline address book (OAB), and room list visibility for specific groups of users. Make use of the provided PowerShell commands to create, assign, verify, and remove ABPs as per your organization’s requirements.

Answer the Questions in Comment Section

  1. Which of the following features can be configured using Address Book Policies in Microsoft 365 Messaging?

    • a) Offline address book downloads
    • b) Message moderation
    • c) Automatic replies
    • d) Message tracking

    Correct answer: a, b, c

  2. True or False: Address Book Policies allow you to control the appearance of the global address list (GAL) for specific users or groups.

    Correct answer: True

  3. When configuring an Address Book Policy, which attribute can you use to filter the address list displayed to specific users or groups?

    • a) Department
    • b) Country
    • c) Manager
    • d) Job title

    Correct answer: a, b, c, d

  4. Which of the following actions can be restricted using Address Book Policies?

    • a) View the free/busy information of other users
    • b) Send emails to specific external domains
    • c) Access the shared mailbox of another user
    • d) Add contacts to personal address books

    Correct answer: b, c, d

  5. True or False: Address Book Policies can be applied to individual mailboxes or distribution groups.

    Correct answer: True

  6. How can you apply an Address Book Policy to a user or group in Microsoft 365?

    • a) Using the Exchange Admin Center
    • b) Using PowerShell commands
    • c) Using the Microsoft 365 Admin Center
    • d) Using Outlook client settings

    Correct answer: a, b, c

  7. Which Exchange Online plan is required to use Address Book Policies?

    • a) Exchange Online Plan 1
    • b) Exchange Online (Plan 2)
    • c) Microsoft 365 Business Basic
    • d) Microsoft 365 Business Premium

    Correct answer: b

  8. True or False: Address Book Policies can be used to override mailbox permissions set by administrators.

    Correct answer: False

  9. What happens if a user belongs to multiple Address Book Policies?

    • a) The policies are merged, and the user inherits all settings from each policy.
    • b) The policy with the highest priority is applied to the user.
    • c) The policy with the lowest priority is applied to the user.
    • d) The policies are randomly applied.

    Correct answer: b

  10. Can a user change their own address book policy?

    • a) Yes, through the Outlook client settings.
    • b) Yes, through the Microsoft 365 Admin Center.
    • c) No, only administrators can change the address book policy for a user.
    • d) No, the address book policy is centrally managed and cannot be changed by users.

    Correct answer: c

0 0 votes
Article Rating
Subscribe
Notify of
guest
21 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
David Diaz
7 months ago

Great blog post! It really helped clarify how to manage address book policies in Microsoft 365 Messaging.

نيما علیزاده

I found this information very useful for my MS-203 exam prep. Thanks!

Consuelo Santos
1 year ago

Can someone explain the difference between an address book policy and an address list?

سپهر احمدی
1 year ago

How many address book policies can be assigned to a single user?

Jean Hernandez
8 months ago

Is it possible to use PowerShell for managing address book policies?

Draginja Španović
1 year ago

This helped me a lot. Appreciate the detailed examples!

Naomi Walker
7 months ago

In my organization, we need different address books for each department. How can address book policies help with that?

Louna Pierre
1 year ago

Does changing an address book policy for a user take effect immediately?

21
0
Would love your thoughts, please comment.x
()
x