Remove-EntraBetaTrustFrameworkPolicy

Deletes a trust framework policy (custom policy) in the Microsoft Entra ID.

Syntax

Remove-EntraBetaTrustFrameworkPolicy
      -Id <String>
      [<CommonParameters>]

Description

The Remove-EntraBetaTrustFrameworkPolicy cmdlet deletes a trust framework policy in the Microsoft Entra ID. The trust framework policy is permanently deleted.

In delegated scenarios with work or school accounts, the admin must have a supported Microsoft Entra role or a custom role with the required permissions. The B2C IEF Policy Administrator is the least privileged role that supports this operation.

Examples

Example 1: Removes the specified trust framework policy

Connect-Entra -Scopes 'Policy.ReadWrite.TrustFramework'
Remove-EntraBetaTrustFrameworkPolicy -Id 'B2C_1A_signup_signin'

This example removes the specified trust framework policy.

  • -Id parameter specifies unique identifier for a trust framework policy.

Parameters

-Id

The unique identifier for a trust framework policy.

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Object