Skip to content

spo serviceprincipal permissionrequest approve

Approves the specified permission request

Usage

m365 spo serviceprincipal permissionrequest approve [options]

Alias

m365 spo sp permissionrequest approve

Options

-i, --requestId <requestId>
ID of the permission request to approve
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Important

To use this command you have to have permissions to access the tenant admin site.

Remarks

The permission request you want to approve is denoted using its ID. You can retrieve it using the spo serviceprincipal permissionrequest list command.

Examples

Approve permission request with id 4dc4c043-25ee-40f2-81d3-b3bf63da7538

m365 spo serviceprincipal permissionrequest approve --requestId 4dc4c043-25ee-40f2-81d3-b3bf63da7538