You deployed an Azure App Service web app and registered it in both Azure AD and Twitter. The app authenticates users, requires SSL, and uses Twitter as the identity provider. To validate the Azure AD request in your application code, which element should you validate?
Choose an answer
Tap an option to check your answer.
Correct answer: ID token signature.
Why this is the answer
The ID token signature must be validated to ensure the token's integrity and authenticity. This cryptographic check confirms that the token was issued by the expected identity provider (Azure AD in this case) and has not been tampered with. Validating the ID token header alone is insufficient as it only contains metadata about the token, not proof of its origin or integrity. The HTTP response code indicates the success or failure of the request but doesn't validate the token's content. While the Tenant ID is present in the token and identifies the Azure AD tenant, validating it alone doesn't guarantee the token's authenticity or that it hasn't been altered.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed