How to Fix Cannot Hide a Microsoft 365 Group from the Global Address List
Question details
The user is unable to save the setting that hides a Microsoft 365 group from the global address list.

- Product
- Microsoft 365 / Exchange Online
- Device & OS
- not provided
- Scenario
- Attempting to hide a newly created or existing Microsoft 365 Group from the organization's directory visibility.
- Observed behavior
- The save action fails, throwing an error related to missing Exchange Online licenses or incomplete group provisioning.
Verify that your administrator account is actively assigned an Exchange Online license and that you have sufficient Exchange Administrator roles assigned in the tenant.
Use Exchange Online PowerShell to Force Group Configuration
Bypass UI provisioning errors by directly setting the SubscriptionEnabled and HiddenFromAddressListsEnabled attributes via PowerShell commands.
When the Microsoft 365 Admin Center or Exchange Admin Center UI throws an error about licensing or provisioning, it often means the background sync process is stuck. Using the Exchange Online PowerShell module allows you to force the configuration to update the required parameters directly.
Open PowerShell as an Administrator. Type 'Connect-ExchangeOnline' and press Enter. Log in using your Microsoft 365 administrator credentials.
Run the command: Set-UnifiedGroup <identity> -SubscriptionEnabled:$True (replace <identity> with the exact name, alias, or email address of the target Microsoft 365 group).
Once the previous command succeeds, run: Set-UnifiedGroup <identity> -HiddenFromAddressListsEnabled:$true to successfully hide the group from the GAL.
Wait for the backend provisioning to complete. It may take several hours for the changes to fully synchronize across your tenant's directories.

Manage Your Daily Documents Effortlessly with WPS Office
While resolving Microsoft 365 server configuration issues requires Microsoft administrative tools, your daily personal or team document creation doesn't need to be tied to expensive subscriptions. WPS Office provides a lightweight, highly compatible alternative for Word, Excel, and PowerPoint files at zero cost.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the on-screen instructions to set up the lightweight application in minutes.
- 3. Open Your Files Seamlessly: Launch WPS Office and instantly open your existing Microsoft Word, Excel, or PowerPoint documents without losing any formatting.

Frequently Asked Questions
Why am I getting a licensing error when trying to hide a Microsoft 365 group?
This error generally happens if the admin account executing the change does not have an active Exchange Online license assigned, or the system hasn't fully completed the backend provisioning for a newly created group.
How long does it take to hide a Microsoft 365 group from the GAL?
Once the PowerShell command is executed successfully, the group is hidden from Outlook on the web within a few minutes. However, it can take 24 to 48 hours to update for users on the Outlook desktop client due to Offline Address Book (OAB) generation cycles.
Can I hide the Microsoft 365 group without using PowerShell?
Yes, under normal circumstances you can go to the Microsoft 365 Admin Center, select the group, navigate to Settings, and check 'Don't show team email address in Outlook'. However, if you receive a provisioning or licensing error, PowerShell is the required workaround to force the update.




