MP.CLT.ADUA.1003 All Active Directory users have a department.
Checks that every enabled Active Directory user has a department (department).
Department is the attribute dynamic groups, licence assignment and reports use most once it is synced to Microsoft Entra ID. A user without one falls outside every group built on it.
Remediation action
- In Active Directory Users and Computers, open each user listed below and go to the Organization tab.
- Fill in Department and select OK.
- For many users, use PowerShell with the ActiveDirectory module (RSAT):
Set-ADUser -Identity <sAMAccountName> -Department 'Finance'. - 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
- Department attribute (Active Directory schema)
- Attributes synchronized to Microsoft Entra ID by Microsoft Entra Connect
%TestResult%