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?
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 default sign-in tenant for the Azure portal determines which Azure AD tenant is used when signing in to the portal. By default, the tenant associated with the Microsoft account that was used to sign up for Azure is set as the default sign-in tenant. However, it is possible to change the default sign-in tenant to a different Azure AD tenant that is associated with the same Microsoft account.
To configure the default sign-in tenant for the Azure portal, you should follow these steps:
Sign in to the Azure portal using your Microsoft account.
In the top-right corner of the portal, click on your account name or avatar.
In the drop-down menu, select the "Switch directory" option.
In the "Switch directory" dialog box, you will see a list of all the Azure AD tenants that are associated with your Microsoft account. Select the tenant that you want to set as the default sign-in tenant.
Click the "Switch" button to switch to the selected tenant.
Once you have switched to the desired tenant, click on your account name or avatar again and select the "My account" option.
In the "My account" pane, click on the "Edit" button next to the "Default directory" field.
In the "Change default directory" dialog box, select the desired Azure AD tenant from the drop-down list and click the "Save" button.
After completing these steps, the selected Azure AD tenant will become the default sign-in tenant for the Azure portal.
Option A is incorrect as it only allows for configuring the portal settings, but not specifically the default sign-in tenant.
Option C and D are also incorrect as they both refer to Azure Cloud Shell, which is not necessary for configuring the default sign-in tenant for the Azure portal.