HiddenFromGAL property for orgContacts

Michael Mican 61 Reputation points
2023-01-04T07:54:54.303+00:00

Is there a way to identify orgContacts from the Graph API which have the "HiddenFromAddressList"/"HiddenFromGAL" Property set to true? In my usecase i do not want to get these users however i wasn't able to identify or filter the orgContacts from the orgContacts GraphAPI Endpoint

-> Graph Endpoint in question: https://learn.microsoft.com/en-us/graph/api/orgcontact-list?view=graph-rest-1.0&tabs=http

Example:
275880-image.png
(Screenshot from Exchange Admin Portal)

275981-image.png

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,761 Reputation points Microsoft External Staff
    2023-01-05T11:55:35.073+00:00

    Hello @Michael Mican ,

    For contacts currently there is no property to show or hide from GAL.

    user resource supports showInAddressList property, but there are some limitations with this currently known-issues.

    When querying users through Microsoft Graph, the showInAddressList property may not indicate the same status shown in Microsoft Exchange. We recommend you manage this functionality directly with Microsoft Exchange through the Microsoft 365 admin center and not to use this property in Microsoft Graph.

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


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.