With graph api: Can I get a organizationID from a groupID?

Karen Adams 76 Reputation points
2020-08-13T23:19:45.153+00:00

If I have a groupID, (and tenantID), can I get an organizationID from that? I am able to user "/organization" endpoint to get the organization but I don't know which organization the specific groupID is from (I am assuming that some users have more then one organization.)

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,371 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,801 Reputation points Microsoft Employee
    2020-08-14T19:11:10.583+00:00

    @Karen Adams No, you cannot, when you look for specific group using GroupId it looks up in the tenant/organization the user or application is signed in to call the Graph API.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.


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.