MP.CLT.ADUA.1005 All Active Directory users have a company name.
Checks that every enabled Active Directory user has a company name (company).
Company name separates staff of different legal entities, subsidiaries or contractors in the address book, dynamic groups and reports once synced to Microsoft Entra ID (as companyName).
Remediation action
- In Active Directory Users and Computers, open each user listed below and go to the Organization tab.
- Fill in Company and select OK.
- For many users, use PowerShell with the ActiveDirectory module (RSAT):
Set-ADUser -Identity <sAMAccountName> -Company 'Contoso Ltd'. - 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
- Company attribute (Active Directory schema)
- Attributes synchronized to Microsoft Entra ID by Microsoft Entra Connect
%TestResult%