Skip to content

Commit 254e0cf

Browse files
Merge pull request #226677 from AjayBathini-MSFT/patch-38
(AzureCXP) fixes MicrosoftDocs/azure-docs#104931
2 parents 6f18d6f + 56a4cc9 commit 254e0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/active-directory/manage-apps/manage-application-permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $spOAuth2PermissionsGrants | ForEach-Object {
7070
}
7171
7272
# Get all application permissions for the service principal
73-
$spApplicationPermissions = Get-AzureADServicePrincipalAppRoleAssignedTo -ObjectId $sp.ObjectId -All $true | Where-Object { $_.PrincipalType -eq "ServicePrincipal" }
73+
$spApplicationPermissions = Get-AzureADServiceAppRoleAssignedTo-ObjectId $sp.ObjectId -All $true | Where-Object { $_.PrincipalType -eq "ServicePrincipal" }
7474
7575
# Remove all application permissions
7676
$spApplicationPermissions | ForEach-Object {

0 commit comments

Comments
 (0)