Skip to content

Commit 300b06a

Browse files
authored
remove scops option from Connect-AzureAD cmd
1 parent d609f89 commit 300b06a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Each option generates PowerShell scripts that enable you to control user access
5656
Using the following Azure AD PowerShell script revokes all permissions granted to an application.
5757

5858
```powershell
59-
Connect-AzureAD -Scopes "Application.ReadWrite.All", "Directory.ReadWrite.All", "DelegatedPermissionGrant.ReadWrite.All" "AppRoleAssignment.ReadWrite.All",
59+
Connect-AzureAD
6060
6161
# Get Service Principal using objectId
6262
$sp = Get-AzureADServicePrincipal -ObjectId "<ServicePrincipal objectID>"
@@ -83,7 +83,7 @@ $spApplicationPermissions | ForEach-Object {
8383
Remove appRoleAssignments for users or groups to the application using the following scripts.
8484

8585
```powershell
86-
Connect-AzureAD -Scopes "Application.ReadWrite.All", "Directory.ReadWrite.All", "AppRoleAssignment.ReadWrite.All"
86+
Connect-AzureAD
8787
8888
# Get Service Principal using objectId
8989
$sp = Get-AzureADServicePrincipal -ObjectId "<ServicePrincipal objectID>"

0 commit comments

Comments
 (0)