Main Content

UsingAzureActive Directory

Get Group ID fromAzureActive Directory Based on Group Display Name

  1. Login to the Azure®AD Graph Explorer at:

    https://graphexplorer.azurewebsites.net

  2. SelectGETas your HTTP query method.

  3. Specify the following query in the text box:

    https://graph.windows.net//groups?$filter=startswith(displayName,'')

    Replacewith your tenant name andwith the group name whose ID you are retrieving.

  4. Search forobjectIdof the specific group in the response. This is your group ID.

Get All Group IDs for a Certain User fromAzureActive Directory

  1. Login to the Azure AD Graph Explorer at:

    https://graphexplorer.azurewebsites.net

  2. SelectGETas your HTTP query method.

  3. Specify the following query in the text box:

    https://graph.windows.net//users/@/memberOf

    Replacewith your tenant name andwith the user name whose group IDs you are retrieving.

  4. Search forobjectIdin the response for all groups wheresecurityEnabledis set totrue. These are your group IDs for a user.

Related Topics

External Websites