LowScript packFree

User Attributes

Checks that Microsoft Entra users have the attributes HR processes, dynamic groups and licensing depend on, that those values are formatted consistently, and that they use your approved values and office locations.

Version
0.5.0
Tests
26
Connectors
0
Published
5 Nov 2026

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

PowerShell
Install-MtPack DevClate/maester-pack-ua

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-ua.

maester-packs.lock.json entry
{  "Id": "devclate.user-attributes",  "Source": "DevClate/maester-pack-ua",  "Version": "0.5.0",  "Commit": "b517a31d37e07d9c9cb11bf6bf582eaec603ac4d",  "Digest": "sha256:d8b91b6f76225c01279e09ba6b104e5f32e9fdcdbd4f344bfb8d6b2bddeeef92"}

← All tests

MP.CLT.UA.1017 All member users have an office location.

Severity: LowGraph

Checks that every enabled member user has an office location, such as a building, floor or site name.

Office location appears on the Outlook and Teams profile card, helps colleagues find each other, and is used in dynamic groups that target a site (user.physicalDeliveryOfficeName -eq "Seattle HQ") for printers, Wi-Fi, building access or local news. If some staff work fully remotely, exempt them with ExcludedGroups, or disable this test.

You can also require the office location as part of the full address check, by adding officeLocation to Fields in MP.CLT.UA.1008.

Remediation action

  1. In the Microsoft Entra admin center, go to Entra ID > Users and open each user listed below.
  2. Select Edit properties > Job information, enter the Office location, and save.
  3. For many users, set it with PowerShell: Update-MgUser -UserId <UPN> -OfficeLocation 'Seattle HQ'.
  4. For users synced from Active Directory or provisioned from an HR system, fix the value at the source (the AD physicalDeliveryOfficeName attribute, or the HR record).

Related links

%TestResult%