How to set all guest users visible by default in GAL

Mateusz Domański 60 Reputation points
2025-02-13T07:55:31.6133333+00:00

Hello!

We have invited few people from collaborating company as guests to our Entra ID. I have added them to distributions lists but other users cannot see them as members of DLs they manage. I have found that is caused by property HiddenFromAddressListsEnabled set to TRUE by default.

I have checked and we do not have any Address Book Policies by issuing Get-AddressBookPolicy command

We have External collaboration settings on "Guest users have limited access to properties and memberships of directory objects" - I heared it may affect this settings

What can we do to have all guests visible by default in GAL in the future? I heared we can now issue below command to enable it for all guests but we would like to have it by default for future users also

Get-MailUser -Filter {RecipientTypeDetails -eq "GuestMailUser"} | Set-MailUser -HiddenFromAddressListsEnabled $false

Microsoft Exchange Online
0 comments No comments
{count} votes

Accepted answer
  1. Bruce Jing-MSFT 8,560 Reputation points Microsoft Vendor
    2025-02-14T06:08:58.3833333+00:00

    Hi,@Mateusz Domański

    Thanks for posting your question in the Microsoft Q&A forum.

    It sounds like you're aiming to make guest users visible in the Global Address List (GAL) by default in your Entra ID (Azure AD). The setting HiddenFromAddressListsEnabled being set to TRUE by default for guest users is indeed causing them to be hidden from the GAL.

    To achieve your goal, you'll need to Update the existing users to make them visible.

    Get-MailUser -Filter {RecipientTypeDetails -eq "GuestMailUser"} | Set-MailUser -HiddenFromAddressListsEnabled $false
    
    

    Ensure future guest users are visible by default, this feature is not currently available. Currently it is only possible to periodically check for guest users and update the GAL through an automated script.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2025-02-13T07:55:31.63+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To set all guest users to be visible by default in the Global Address List (GAL), you can use the Microsoft Graph PowerShell to update the visibility settings for guest users. However, there is no direct method mentioned in the provided context to set this property for all future guest users automatically.

    Currently, guest users are not visible in the GAL by default due to the HiddenFromAddressListsEnabled property being set to TRUE. You can manually change this setting for existing guest users using the command you mentioned. Unfortunately, the context does not specify a way to change the default behavior for all future guest users automatically.

    You may want to consider regularly running a script to update the visibility of new guest users after they are added, as the context suggests that this property can be modified post-creation.


    References:

    1 person found this answer helpful.
    0 comments No comments

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.