Microsoft Azure Infrastructure and Deployment (legacy) — Question 21
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?
Answer options
- 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.
Correct answer: C
Explanation
The correct answer is C because the New-AzureADUserAppRoleAssignment cmdlet allows you to assign roles that grant access to resources across subscriptions. Options A and D do not provide the necessary permissions to view resources, and option B is unrelated to resource visibility across subscriptions.