Getting a security groud from the Azure AD via a rest API call

Goldberg, Yuval 1 Reputation point
2022-08-25T18:10:14.47+00:00

Hello,
I need to security groups and their SID from Azure AD using a REST AIP call. Is there a way to do that?
Without using MS graph

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,311 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 21,386 Reputation points Microsoft Employee
    2022-08-25T21:03:43.523+00:00

    Hi @Goldberg, Yuval , you can follow this document to call the REST API for Network Security Groups. Unfortunately I don't beleive this is what you're asking about. You would need to use the Graph API if you're dealing with security groups in Azure AD:

    There was a post on SO about this too which may provide more information: https://stackoverflow.com/questions/53881002/list-all-groups-of-a-user-in-azure-active-directory-using-the-azure-api-call

    Please let me know if you have any questions and I can help you further.

    If this answer helped you please mark it as "Verified" so other users can reference it.

    Thank you,
    James

    0 comments No comments