Remove-EntraBetaApplicationPolicy
Removes an application policy.
Syntax
Remove-EntraBetaApplicationPolicy
-Id <String>
-PolicyId <String>[<CommonParameters>]
Description
The Remove-EntraBetaApplicationPolicy
cmdlet removes an application policy from Microsoft Entra ID. Specify Id
and 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.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PolicyId
Specifies the ID of the policy.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |