What should you do?

Posted by: Pdfprep Category: AZ-104 Tags: , ,

You have 100 Azure subscriptions. All the subscriptions are associated to the same Azure Active Directory (Azure AD) tenant named contoso.com.

You are a global administrator.

You plan to create a report that lists all the resources across all the subscriptions.

You need to ensure that you can view all the resources in all the subscriptions.

What should you do?
A . From the Azure portal, modify the profile settings of your account.
B . From Windows PowerShell, run the Add-AzureADAdministrativeUnitMember cmdlet.
C . From Windows PowerShell, run the New-AzureADUserAppRoleAssignment cmdlet.
D . From the Azure portal, modify the properties of the Azure AD tenant.

Answer: C

Explanation:

The New-AzureADUserAppRoleAssignment cmdlet assigns a user to an application role in Azure Active Directory (AD). Use it for the application report.

References: https://docs.microsoft.com/en-us/powershell/module/azuread/new-azureaduserapproleassignment?view=azureadps-2.0

Leave a Reply

Your email address will not be published.