nerdexam
Microsoft

MS-102 · Question #569

Your network contains an Active Directory domain named adatum.com that is synced to a Microsoft Entra tenant. The domain contains 100 user accounts. The city attribute for all the users is set to…

The correct answer is D. From Active Directory Administrative Center, select the Active Directory users, and then modify. Because the tenant is using directory synchronization, the authoritative source for user attributes such as city is on-premises Active Directory. Cloud-side changes (Microsoft Graph or MSOL cmdlets) will not overwrite synced attributes, and Azure Cloud Shell cannot manage…

Submitted by carlos_mx· Apr 18, 2026Implement and manage identity and access

Question

Your network contains an Active Directory domain named adatum.com that is synced to a Microsoft Entra tenant. 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?

Options

  • AFrom Azure Cloud Shell, run the Get-ADUser and Set-ADUser cmdlets.
  • BFrom Azure Cloud Shell, run the Get-MsolUser and Set-Msoluser cmdlets.
  • CFrom Windows PowerShell on a domain controller, run the and
  • DFrom Active Directory Administrative Center, select the Active Directory users, and then modify

How the community answered

(45 responses)
  • A
    11% (5)
  • B
    4% (2)
  • C
    7% (3)
  • D
    78% (35)

Explanation

Because the tenant is using directory synchronization, the authoritative source for user attributes such as city is on-premises Active Directory. Cloud-side changes (Microsoft Graph or MSOL cmdlets) will not overwrite synced attributes, and Azure Cloud Shell cannot manage on-prem AD. Therefore, the required change must be made directly in Active Directory, such as through Active Directory Administrative Center.

Topics

#Active Directory attributes#ADAC#Bulk user updates#On-premises AD

Community Discussion

No community discussion yet for this question.

Full MS-102 Practice