Hi @Tetopa Kundeti · Thank you for reaching out.
For this purpose, you need to navigate to Azure AD > App Registration > Open the app that you want to configure the token for and use below option:
If you configure group information to be passed in Access token, below parameters gets added in the application manifest:
"optionalClaims": {
"accessToken": [{
"name": "groups",
"additionalProperties": ["dns_domain_and_sam_account_name"]
}]
}
If you configure Group information to be passed in ID token, below parameters are added:
"optionalClaims": {
"idToken": [{
"name": "groups",
"additionalProperties": ["netbios_domain_and_sam_account_name", "emit_as_roles"]
}]
}
You can directly add these parameters in the Manifest as well.
Read more: https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-fed-group-claims
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.