Skip to content

Commit 3ea3e84

Browse files
authored
Correction to cmdlet to delete app consent policy
1 parent 2128452 commit 3ea3e84

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

articles/active-directory/manage-apps/manage-app-consent-policies.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,7 @@ Once the app consent policy has been created, you can [allow user consent](confi
112112
1. The following shows how you can delete a custom app consent policy. **This action cannot be undone.**
113113

114114
```powershell
115-
New-AzureADMSPermissionGrantPolicy `
116-
-Id "my-custom-policy" `
117-
-DisplayName "My first custom consent policy" `
118-
-Description "This is a sample custom app consent policy."
115+
Remove-AzureADMSPermissionGrantPolicy -Id "my-custom-policy"
119116
```
120117

121118
> [!WARNING]

0 commit comments

Comments
 (0)