AZ-104 · Question #181
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…
The correct answer is B. From the Azure portal, change the directory. 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…
Question
Options
- AFrom the Azure portal, configure the portal settings.
- BFrom the Azure portal, change the directory.
- CFrom Azure Cloud Shell, run Set-AzureRmContext.
- DFrom Azure Cloud Shell, run Set-AzureRmSubscription.
How the community answered
(39 responses)- A5% (2)
- B69% (27)
- C10% (4)
- D15% (6)
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. Go to Subscriptions. Select a subscription. 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.
Community Discussion
No community discussion yet for this question.