You are building a web application that uses the Microsoft identity platform for user authentication. You are implementing user identification for the web appli...
Microsoft AZ-204 Exam
Questions Number: 183 out of 355 Questions
51.55%
Question 183
You are building a web application that uses the Microsoft identity platform for user authentication. You are implementing user identification for the web application. You need to retrieve a claim to uniquely identify a user. Which claim type should you use?
oid -The object identifier for the user in Azure AD. This value is the immutable and non-reusable identifier of the user. Use this value, not email, as a unique identifier for users; email addresses can change. If you use the Azure AD Graph API in your app, object ID is that value used to query profile information. Incorrect: Not A: aud - Who the token was issued for. This will be the application's client ID. Reference: https://docs.microsoft.com/en-us/azure/architecture/multitenant-identity/claims