Onboarding a Guest Directory Tenant - Azure Stack Hub Integrated System | Exam AZ-600

Onboard adatum.onmicrosoft.com as Guest Directory Tenant

Question

In an Azure Stack Hub Integrated System, you are the service administrator of contoso.onmicrosoft.com which is a home Azure AD tenant that offers identity and access management services.

You are required to onboard adatum.onmicrosoft.com as the guest directory tenant.Being the service administrator of contoso.onmicrosoft.com, which of the following actions would you perform?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: A

Being the service administrator of contoso.onmicrosoft.com, you need to onboard a guest directory tenant to Azure Stack Hub.

To onboard this, the script that needs to be run is:

Register-AzSGuestDirectoryTenant -AdminResourceManagerEndpoint $adminARMEndpoint ~
-DirectoryTenantName $azureStackDirectoryTenant ~

-GuestDirectoryTenantName $guestDirectoryTenantToBeOnboarded ~

-Location $location ~

-ResourceGroupName $ResourceGroupName ~

-SubscriptionName $SubscriptionName

Therefore, the correct action from the given list is Run Register-AzSGuestDirectoryTenant against http://adminmanagement.

contoso.onmicrosoft.com

To know more about configuring multi-tenancy in Azure Stack Hub, please visit the below-given link:

In an Azure Stack Hub Integrated System, the service administrator of a home Azure AD tenant (in this case, contoso.onmicrosoft.com) is responsible for onboarding a guest directory tenant (in this case, adatum.onmicrosoft.com). The correct action to perform in this scenario is to run the "Register-AzSGuestDirectoryTenant" command.

The command should be run against the Azure Stack Hub management endpoint, which is accessed through the "https://adminmanagement.<region>.<external-domain>" URL. In this case, the URL to use would be "https://adminmanagement.contoso.onmicrosoft.com".

Option A, "Run Register-AzSGuestDirectoryTenant against http://adminmanagement.contoso.onmicrosoft.com", is incorrect because it specifies the wrong URL protocol (http instead of https).

Option B, "Run Register-AzSWithMyDirectoryTenant against http://adminmanagement.contoso.onmicrosoft.com", is also incorrect. This command is used to register an Azure Stack Hub instance with an Azure AD tenant, not to onboard a guest directory tenant.

Option C, "Run Register-AzSGuestDirectoryTenant against http://management.contoso.onmicrosoft.com", is also incorrect because it uses the wrong URL. The management endpoint URL should include the "adminmanagement" subdomain.

Option D, "Run Register-AzSWithMyDirectoryTenant against http://management.contoso.onmicrosoft.com", is also incorrect for the same reason as option B.

Therefore, the correct action to perform is option A: "Run Register-AzSGuestDirectoryTenant against https://adminmanagement.contoso.onmicrosoft.com".