PdfPrep.com

What should you do?

Your network contains an Active Directory domain named .Ki.ituin.com that is synced to Microsoft Azure Active Directory (Azure AD).

The domain contains 10O 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?
A . from Active Directory Administrative Center, select the Active Directory users, and then modify the Property settings.
B From the Microsoft 365 admin center, select the users, and then use the Bulk actions option.
B . From Azure Cloud Shell, run the Get-AzureADUsers, and then use the Bulk actions option.
C . From Azure Cloud Shell, run the Get-AzureADUser and set-AzureADUser cmdlets.
D . From Windows PowerShell on a domain controller, run the Get-AzureADUser and Set-AzureADUser cmdlets.

Answer: C

Explanation:

The user accounts are synced from the on-premise Active Directory to the Microsoft Azure Active Directory (Azure AD). Therefore, the city attribute must be changed in the on-premise Active Directory.

You can use Windows PowerShell on a domain controller and run the Get-ADUser cmdlet to get the required users and pipe the results into Set-ADUser cmdlet to modify the city attribute.

Reference: https://docs.microsoft.com/en-us/powershell/module/addsadministration/set-aduser?view=win10-ps

Exit mobile version