Skip to content

Commit 7a5ff60

Browse files
authored
Merge pull request #133202 from psignoret/patch-1
Correction to cmdlet to delete app consent policy
2 parents 007f798 + 3ea3e84 commit 7a5ff60

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)