Exam-Answer

Home / Microsoft / AZ-900 / Question 59

Prev Question
Next Question

Question 59

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?

Answers


Advertisement

Explanation (click to expand)

The Set-AzureRmContext cmdlet sets authentication information for cmdlets that you run in the current session. The context includes tenant, subscription, and environment information.

Example: PS C:\>Set-AzureRmContext -SubscriptionId "xxxx-xxxx-xxxx-xxxx"

References (click to expand)

Prev Question
Next Question

Load more