Question 70
AZ-204 voucher + Udemy course (lifetime access) = ₹3,500 for Indian ID card holders.
Details →You are developing an ASP.NET Core app hosted in Azure App Service. The app requires custom claims to be returned from Microsoft Entra ID for user authorization. The claims must be removed when the app registration is removed. You need to include the custom claims in the user access token. What should you do?
- ARequire the https://graph.microsoft.com/.default scope during authentication.
- BConfigure the app to use the OAuth 2.0 authorization code flow.
- CImplement custom middleware to retrieve role information from Azure AD.
- DAdd the groups to the groupMembershipClaims attribute in the app manifest.
- EAdd the roles to the appRoles attribute in the app manifest.