Skip to content

Commit 1fd1819

Browse files
Merge pull request #249796 from Jackson-Woods/patch-11
Fix parameter typo
2 parents 0ba1540 + 4aae411 commit 1fd1819

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
@@ -85,7 +85,7 @@ $spOAuth2PermissionsGrants | ForEach-Object {
8585
}
8686
8787
# Get all application permissions for the service principal
88-
$spApplicationPermissions = Get-AzureADServiceAppRoleAssignedTo-ObjectId $sp.ObjectId -All $true | Where-Object { $_.PrincipalType -eq "ServicePrincipal" }
88+
$spApplicationPermissions = Get-AzureADServiceAppRoleAssignedTo -ObjectId $sp.ObjectId -All $true | Where-Object { $_.PrincipalType -eq "ServicePrincipal" }
8989
9090
# Remove all application permissions
9191
$spApplicationPermissions | ForEach-Object {

0 commit comments

Comments
 (0)