How to Show or Hide a Guest User in the Global Address List
Question details
The user needs to change the visibility of a guest user in the Global Address List (GAL).

- Product
- Microsoft Exchange
- Device & OS
- not provided
- Scenario
- Administrators need to show or hide a guest user in the GAL, but the standard graphical interface lacks this toggle.
- Observed behavior
- The Exchange admin center and Azure AD profile settings do not provide a 'Hide from address list' checkbox for guest mail users.
Ensure you have the AzureAD PowerShell module installed and that you are logged in with appropriate administrative privileges.
Modify Visibility Using Azure AD PowerShell
Use specific PowerShell cmdlets to bypass the GUI limitations and directly update the guest user's address list visibility.
Because the Exchange admin center and Azure AD graphical interfaces do not expose the visibility toggle for guest accounts, administrators must use PowerShell to modify the ShowInAddressList property.
Open PowerShell as an administrator and run the command 'Connect-AzureAD' to authenticate with your administrator credentials.
Find the Object ID of the guest user by checking their profile in the Azure AD portal under 'Users'.
To show the user, run 'Set-AzureADUser -ObjectId <GuestUserObjectId> -ShowInAddressList $true'. To hide the user, change the value to '$false'. Replace '<GuestUserObjectId>' with the actual ID.

Boost Your Productivity with WPS Office
While managing Exchange settings requires technical PowerShell commands, your daily document management shouldn't be complex. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, making it easy to handle your reports, spreadsheets, and presentations.
- 1. Visit the Official Website: Navigate to the official WPS Office website to find the appropriate download for your operating system.
- 2. Download the Installer: Click the download button to get the free, lightweight installation package.
- 3. Install and Work: Follow the simple on-screen instructions to install the software and instantly start editing your documents.

Frequently Asked Questions
Why is the 'Hide from address list' option missing for guest users?
Microsoft's graphical interfaces, including the Exchange admin center and Azure AD portal, currently do not expose this specific toggle for guest user objects, meaning administrators must use PowerShell to change the setting.
How do I find a guest user's Object ID?
Log into the Azure Active Directory portal, navigate to 'Users', search for the specific guest user, and copy the 'Object ID' string displayed on their profile overview page.
How long does it take for Global Address List changes to appear in Outlook?
After running the PowerShell command, it can take anywhere from a few minutes to up to 24 hours for the Offline Address Book (OAB) to generate and for the changes to sync to end-user Outlook clients.




