Microsoft 365 Administrator — Question 138

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

Correct answer: A

Explanation

The correct answer is A because the Get-ADUser and Set-ADUser cmdlets are specifically designed for managing Active Directory user attributes, including the city attribute on a domain controller. Options B and C are incorrect as they involve commands that do not directly modify the city attribute in the on-premises Active Directory. Option D does not utilize the appropriate tools for bulk modification of user attributes in Active Directory.