You are developing a multi-tenant web application that must allow users from any Microsoft Entra ID tenant to sign in using their work or school accounts. Personal Microsoft accounts (such as outlook.com or xbox.com) must be prevented from signing in. Which two configurations must you implement to meet these requirements? (Select TWO)
- Set the signInAudience property in the application manifest to AzureADMultipleOrgs.Answer
- Configure the authority URI in the application code to use the organizations endpoint.Answer
- CSet the signInAudience property in the application manifest to AzureADMyOrg.
- DConfigure the authority URI in the application code to use the common endpoint.
Answer
Set the signInAudience property in the application manifest to AzureADMultipleOrgs, and configure the authority URI in the application code to use the organizations endpoint.
To support multi-tenant login restricted to work or school accounts, the application's registration manifest must have the signInAudience set to AzureADMultipleOrgs. In the application code, the authentication flow must target the organizations endpoint, which ensures that personal accounts are blocked during the authentication process.
Step-by-Step Solution
Key Concept
Multi-tenant Applications Configuration in Microsoft Entra ID
Estimated Time:1m 0s