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.

Answer: C

Explanation:

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://docs.microsoft.com/en-us/powershell/module/azurerm.profile/set-azurermcontext

Latest AZ-104 Dumps Valid Version with 416 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
2 Comments
Inline Feedbacks
View all comments
Kovki
Kovki
3 years ago

Answer is B.