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.1002 All member users have a manager.

Severity: MediumGraph

Checks that every enabled member user has a manager, except people at the top of the organisation (by default, the CEO).

Many Microsoft Entra features route decisions to a user's manager: access reviews where managers review their reports, access package approvals, Lifecycle Workflows tasks (such as emailing a new starter's manager), and the organisation chart in Outlook and Teams. A user without a manager makes those steps fail or fall back to an administrator.

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, choose the Manager, and save.
  3. For many users, set it with PowerShell: Set-MgUserManagerByRef -UserId <UPN> -BodyParameter @{ '@odata.id' = 'https://graph.microsoft.com/v1.0/users/<manager id>' }.
  4. For users synced from Active Directory, set the manager attribute in AD. Microsoft Entra Connect syncs it.
  5. If someone legitimately has no manager, add their job title to ExcludedJobTitles, or the user to ExcludedUsers, for this test in maester-config.json.

Related links

%TestResult%