You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -417,17 +418,17 @@ The `Find-PrivilegedApplications` command helps to identify high-value apps that
417
418
418
419
### Add-ApplicationPermission
419
420
420
-
Adds desired Graph API permission to target application ID. If the role is privileged it will prompt the user to confirm whether to attempt to grant admin consent (via `beta/directory/consentToApp`) using the current privileges:
421
+
Adds desired Graph API permission to target application ID. If the role is privileged it will prompt the user to confirm whether to attempt to grant admin consent (via the `beta/directory/consentToApp` endpoint) using the current privileges:
421
422
422
423

423
424
424
425
> NOTE: if the admin consent grant attempt fails with 400 error the token likely doesn't have the necessary scope/permissions assigned
425
426
426
-
The permission update succeeded in this instance and the application API permission is assigned however the admin consent grant failed:
427
+
The permission update succeeded in this instance and the application API permission is assigned however the admin consent grant obviously failed:
427
428
428
429

429
430
430
-
Once you obtain the necessary permissions or compromise a privileged token then the `Grant-AppAdminConsent` command can be used to grant admin consent to the role you just added here:
431
+
Once you obtain the necessary permissions or compromise a privileged token then the `Grant-AppAdminConsent` command can be used to grant admin consent to the role that was added for the target app ID:
431
432
432
433

433
434
@@ -444,7 +445,7 @@ Or you can use the `Get-Application` command:
The ID within `resourceAccess` corresponds to the `AccessReview.Read.All` that was assigned as confirmed with [Locate-PermissionID](https://github.com/mlcsec/Graphpython/tree/main?tab=readme-ov-file#locate-permissionid):
448
+
The ID within `resourceAccess` corresponds to `AccessReview.Read.All` that was assigned as confirmed with [Locate-PermissionID](https://github.com/mlcsec/Graphpython/tree/main?tab=readme-ov-file#locate-permissionid):
0 commit comments