Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Remove-EntraBetaApplicationPolicy

Removes an application policy.

Syntax

Default (Default)

Remove-EntraBetaApplicationPolicy

 -Id <String>
 -PolicyId <String>
 [<CommonParameters>]

Description

The Remove-EntraBetaApplicationPolicy cmdlet removes an application policy from Microsoft Entra ID. Specify Idand PolicyId parameters to remove an specific application policy.

Examples

Example 1: Remove an application policy

Connect-Entra -Scopes 'Application.ReadWrite.All'
$params = @{
 Id = 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'
 PolicyId = 'bbbbbbbb-1111-2222-3333-cccccccccccc'
}
Remove-EntraBetaApplicationPolicy @params

This command removes the specified application policy.

Parameters

-Id

The ID of the application for which you need to retrieve the policy.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-PolicyId

Specifies the ID of the policy.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

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

Related Links


Feedback

Was this page helpful?