MP.CLT.ADUA.1010 All Active Directory users have an office location.
Checks that every enabled Active Directory user has an office location (physicalDeliveryOfficeName).
physicalDeliveryOfficeName is the Office field in Active Directory Users and Computers, synced to Microsoft Entra ID as officeLocation. Room finders, seating plans and location-based groups use it.
Remediation action
- In Active Directory Users and Computers, open each user listed below and go to the General tab.
- Fill in Office and select OK.
- For many users, use PowerShell with the ActiveDirectory module (RSAT):
Set-ADUser -Identity <sAMAccountName> -Office 'Redmond HQ'. - If the value comes from an HR system or a provisioning tool, fix it there, or the next import overwrites your change.
- If an account legitimately has no value (a service or resource account), leave it out with
ExcludedUsers,ExcludedGroupsor the pack-wideCLT.ADUA.ExcludedOUsinmaester-config.jsonrather than filling in a placeholder.
Related links
- Set-ADUser
- Physical-Delivery-Office-Name attribute (Active Directory schema)
- Attributes synchronized to Microsoft Entra ID by Microsoft Entra Connect
%TestResult%