Home » Microsoft » AZ-300 v.2 » What should you do?
You have two Azure Active Directory (Azure AD) tenants named contoso.com and fabrikam.com.
You have a Microsoft account that you use to sign in to both tenants.
You need to configure the default sign-in tenant for the Azure portal.
What should you do?
A. From the Azure portal, configure the portal settings
B. From the Azure portal, change the directory
C. From Azure Cloud Shell, run Set-AzureRmContext
D. From Azure Cloud Shell, run Set-AzureRmSubscription
Correct Answer: B
Explanation/Reference:
Explanation:
Change the subscription directory in the Azure portal.
The classic portal feature Edit Directory, that allows you to associate an existing subscription to your Azure Active Directory (AAD), is now available in Azure portal. It used to be available only to Service Admins with Microsoft accounts, but now it’s available to users with AAD accounts as well.
To get started:
1. Go to Subscriptions.
2. Select a subscription.
3. Select Change directory.
Incorrect Answers:
C: The Set-AzureRmContext cmdlet sets authentication information for cmdlets that you run in the current session. The context includes tenant, subscription, and environment information.
References: https://azure.microsoft.com/en-us/updates/edit-directory-now-in-new-portal/