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.1001 All member users have a usage location.

Severity: HighGraph

Checks that every enabled member user has a usage location (the two-letter country code licences are assigned for).

Microsoft 365 cannot assign a licence to a user without a usage location. Direct assignment fails, and group-based licensing puts the user in an error state, so new starters can end up without mailboxes or Teams. Usage location also decides which services are offered, because some are not available in every country.

Remediation action

  1. In the Microsoft Entra admin center, go to Entra ID > Users and open each user listed below.
  2. Select Edit properties > Settings, choose the Usage location, and save.
  3. For many users, set it with PowerShell: Update-MgUser -UserId <UPN> -UsageLocation US.
  4. For users synced from Active Directory, set the source attribute (often msExchUsageLocation or c) and map it in Microsoft Entra Connect, or set a default in your provisioning process, so new users get one.

Related links

%TestResult%