Microsoft 365 Administrator — Question 128
Your network contains an Active Directory domain named adatum.com that is synced to Azure AD.
The domain contains 100 user accounts.
The city attribute for all the users is set to the city where the user resides.
You need to modify the value of the city attribute to the three-letter airport code of each city.
What should you do?
Answer options
- A. From Azure Cloud Shell, run the Get-MsolUser and Set-MsolUser cmdlets.
- B. From Windows PowerShell on a domain controller, run the Get-MgUser and Update-MgUser cmdlets.
- C. From Active Directory Administrative Center, select the Active Directory users, and then modify the Properties settings.
- D. From Azure Cloud Shell, run the Get-MgUser and Update-MgUser cmdlets.
Correct answer: C
Explanation
The correct answer is C because modifying user attributes directly in Active Directory through the Administrative Center allows for bulk changes to properties like the city attribute. Options A and D are incorrect as they pertain to Azure AD commands that do not allow for direct modifications of the on-premises AD attributes. Option B is also incorrect as it involves using PowerShell on a domain controller, which doesn't provide the most efficient method for this task.