HighBinary packFree

AD User Attributes

Checks that Active Directory users have the attributes HR processes, Entra Connect sync and address books depend on, that those values are formatted consistently, and that they use your approved values and office locations.

Version
0.3.2
Tests
25
Connectors
1
Published
9 Nov 2026

DevClate · devclate.ad-user-attributes · 0 stars · Open source · MIT

PowerShell
Install-MtPack DevClate/maester-pack-adua

Install only packs from sources you trust. This pack is made by DevClate, not by Maester. The site only indexes and scans it: Install-MtPack downloads it straight from github.com/DevClate/maester-pack-adua.

maester-packs.lock.json entry
{  "Id": "devclate.ad-user-attributes",  "Source": "DevClate/maester-pack-adua",  "Version": "0.3.2",  "Commit": "33e16c74cae035b3068786259858c0d71bfb2272",  "Digest": "sha256:7f38679dcfc7e7044b9b10fe36ad7ba32a1f3e34c026f48f49db2979f22b4a1a"}

← All tests

MP.CLT.ADUA.1023 Active Directory user addresses match an approved office location.

Severity: LowCLT.ADUA.Ldap

Checks that each enabled Active Directory user's address matches one of your approved office locations. By default it compares streetAddress, l (city), st (state), postalCode, co (country) and company; use Fields to add telephoneNumber or physicalDeliveryOfficeName, or to leave fields out. For each user that matches no location, the result shows the closest location and the fields that differ.

Checking each field on its own (MP.CLT.ADUA.1018–1021) does not catch a valid street with the wrong city. Matching the whole address to a real office does, and it finds users still showing an office that has closed.

Remediation action

  1. List your offices under locations in CLT.ADUA.AllowedValues in maester-config.json. Each location can use LDAP names (l, st, co, company, telephoneNumber) or the Microsoft Graph names the User Attributes pack uses (city, state, country, companyName, businessPhones):

    { "GlobalSettings": { "CLT.ADUA.AllowedValues": { "locations": [
      { "name": "Seattle HQ", "streetAddress": "1 Main Street", "l": "Redmond", "st": "WA", "postalCode": "98052", "co": "United States", "company": "Contoso Ltd" }
    ] } } }
    
  2. Fix each user listed below on the Address and Organization tabs in Active Directory Users and Computers, or with Set-ADUser.

  3. If a location is missing from the list, add it rather than changing the users.

Related links

%TestResult%