Forum Discussion
Samir Raut
Apr 09, 2019Copper Contributor
Is there a graph API equivalent for un hiding user from GAL for Azure AD B2B user
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 Howeve...
headburgh
Jan 02, 2020MCT
You could use the beta API for Azure Active Directory B2B for this.
https://graph.microsoft.com/beta/users/{id of user}
PATCH
"showInAddressList": true
Please note, as it is in Beta it could be hazardous to take a production dependency on /beta APIs.
Regards,
Viktor
- DavidLundellOct 23, 2023Brass Contributor
headburgh This does not work as there is a https://developer.microsoft.com/en-us/graph/known-issues/?search=14972