Test-MtTenantCreationRestricted
SYNOPSISโ
Tests if Entra ID tenant creation is restricted to admin users.
SYNTAXโ
Test-MtTenantCreationRestricted [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTIONโ
This function checks if the Entra ID tenant creation is restricted to admin users by querying the authorization policy settings.
EXAMPLESโ
EXAMPLE 1โ
Test-MtTenantCreationRestricted
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โ
[bool] - Returns $true if tenant creation is restricted to admin users, otherwise returns $false.โ
NOTESโ
RELATED LINKSโ
https://maester.dev/docs/commands/Test-MtTenantCreationRestricted