Follow the guidelines at to utilize the AAD configuration
at https://fusionauth.io/docs/v1/tech/identity-providers/openid-connect/azure-ad/redactlehttps://fusionauth.io/community/forum/category/1/announcements
When create registration is enabled, however, I am unable to create a new FA user. I receive an error "The user was not given a unique identification. This account cannot be used to login; thus, this login request cannot be completed."
According to the event log
2/23/2023 07:48:05 AM Z Build a new user object from the returned Userinfo response:
{
"sub" : "3XXJmjO2q9DQCmGWV8-dyv_EzpOT-m_IAc3NX5nuYXA",
"name" : "Simon Roberts",
"family_name" : "Roberts",
"given_name" : "Simon",
"picture" : "https://graph.microsoft.com/v1.0/me/photo/$value",
"email" : "simon.roberts@mycompany.com"
}
2/23/2023 07:48:05 AM Z Linking strategy [LinkByEmail]
2/23/2023 07:48:05 AM Z Resolved email to [smycompany.com]
2/23/2023 07:48:05 AM Z Resolved username to [null]
2/23/2023 07:48:05 AM Z Resolved unique Id to [null]
2/23/2023 07:48:05 AM Z A unique Id was not provided b
How can I get the one-of-a-kind ID? When I open the bearer token in jwt.io, I can see my AAD OID.
"name": "Simon Roberts",
"oid": "fa87b189-7080-4050-aa1b-e77e113e6799",
"openid" is the name of my scope.
What am I overlooking?