Remove a user from the Global Address List?

Keith Hampshire 96 Reputation points
2021-08-20T20:16:50.49+00:00

We are using Office365 Exchange for our email service. We also have a one way Azure AD sync going from on-prem to the cloud.

I would like to remove disabled users from the GAL, but I'm receiving error messages stating I need to do this from the on-prem location. Nothing in 365 admin center will allow me to do this.

We do not have exchange on-prem.

How can I force the user to NOT show up in the GAL?

125162-image.png

125070-image.png

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Exchange Exchange Server Management
{count} votes

1 answer

Sort by: Most helpful
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2021-08-20T20:20:50.71+00:00

    Create an OU or use an existing OU on-prem and exclude that from the AADConnect Sync.

    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-configure-filtering#organizational-unitbased-filtering

    Then move the AD account associated with those mailboxes to that OU and they will be removed from Azure ( remove any licenses first)

    I assume you dont just want to hide them from the GAL. If so:
    then you will need to set :
    msExchHideFromAddressLists
    to TRUE in AD for each account.

    Then it will sync and hide the user from JUST the Address Lists but not removed from Azure....

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.