Set Default Sign-in Tenant for Azure Portal | AZ-300 Exam Question Answer | Microsoft

Configure Default Sign-in Tenant for Azure Portal

Question

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

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

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.

https://azure.microsoft.com/en-us/updates/edit-directory-now-in-new-portal/

The correct answer is B. From the Azure portal, change the directory.

When you log in to the Azure portal with your Microsoft account, you will be redirected to the default sign-in tenant. However, you can change the default sign-in tenant to the one that you want to use.

To change the default sign-in tenant, you can follow these steps:

  1. Log in to the Azure portal with your Microsoft account.
  2. Click on your account name or profile picture in the top right corner of the portal.
  3. Click on "Switch directory" from the drop-down menu.
  4. Select the Azure AD tenant that you want to use as the default sign-in tenant.
  5. Click "Save".

After you have changed the default sign-in tenant, you will be redirected to that tenant whenever you log in to the Azure portal.

Option A, "From the Azure portal, configure the portal settings", is incorrect because there is no option in the portal settings to configure the default sign-in tenant.

Option C, "From Azure Cloud Shell, run Set-AzureRmContext", is incorrect because Set-AzureRmContext is a command that is used to set the current Azure context. It is not used to change the default sign-in tenant.

Option D, "From Azure Cloud Shell, run Set-AzureRmSubscription", is also incorrect because Set-AzureRmSubscription is a command that is used to set the current Azure subscription. It is not used to change the default sign-in tenant.