How to Get Group IDs from Azure

Overview

This article details how Azure can send the Group ID instead of the Group name.

Applies To
  • Azure AD (Entra ID)
  • Groups
Solution

This request is more related to Azure AD and Google's capabilities and configuration for sending group data than to Auth0.

Azure AD already supports sending group IDs instead of names, and Auth0/CIC can receive them. See Configure group claims for applications by using Microsoft Entra ID for info on how to configure this in Azure AD.

Here is how the group IDs appear on the Auth0 profile:

{
    "email": "REDACTED",
    "family_name": "Doe",
    "given_name": "John",
    "group_ids": [
        "e67caeb2-0a9c-48f4-b2db-f97468c2350e"
    ]
    "groups": [
        "TestGroup"
    ],
    "identities": [
        {
            "user_id": "REDACTED",
            "provider": "waad",
            "connection": "REDACTED",
            "isSocial": false
        }
    ],
    "name": "John Doe",
    "nickname": "REDACTED",
    "user_id": "REDACTED",
    "blocked": false,
    "oid": "REDACTED",
    "tenantid": "REDACTED",
    "upn": "REDACTED"
}


 

Recommended content

No recommended content found...