Skip to main content
Version: 2.0.1 (preview)

Test-MtEntitlementManagementInactivePolicies

SYNOPSISโ€‹

Checks if access packages have inactive or orphaned assignment policies

SYNTAXโ€‹

Test-MtEntitlementManagementInactivePolicies [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTIONโ€‹

MT.1108 - Access packages should not reference inactive or orphaned assignment policies

This test identifies Microsoft Entra ID Governance access packages that contain assignment policies which are disabled, misconfigured, or orphaned. Inactive policies can cause:

  • Blocked access requests
  • Broken approval workflows
  • Inconsistent user lifecycle automation
  • Configuration drift

The test validates that all assignment policies are:

  • Accepting requests (requestorSettings.acceptRequests = true)
  • Properly configured with valid scope types
  • Not using deprecated scope types (e.g., "NoSubjects")
  • Have valid approval settings where required
  • Not expired
  • Have proper question configuration

Learn more: https://maester.dev/docs/tests/MT.1108

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Test-MtEntitlementManagementInactivePolicies

Returns $true if all access package assignment policies are active and properly configured

PARAMETERSโ€‹

-ProgressActionโ€‹

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParametersโ€‹

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTSโ€‹

OUTPUTSโ€‹

System.Booleanโ€‹

NOTESโ€‹

https://maester.dev/docs/commands/Test-MtEntitlementManagementInactivePolicies