Is there a graph API equivalent for un hiding user from GAL for Azure AD B2B user

Copper Contributor

I am aware of PowerShell Script to unhide user from GAL by doing so (example):

Set-AzureADUser -GivenName $first -Surname $last -JobTitle $title -Department $dept -ShowInAddressList $true


However, we are interested in doing this using the REST API. Is that possible? Not sure if it matters but in our case, this is for a set of Azure AD B2B users.

2 Replies

You could use the beta API for Azure Active Directory B2B for this.{id of user}


"showInAddressList": true


Please note, as it is in Beta it could be hazardous to take a production dependency on /beta APIs.