Skip to content

spo serviceprincipal permissionrequest approve

Approves the specified permission request


spo serviceprincipal permissionrequest approve [options]


spo sp permissionrequest approve


Option Description
--help output usage information
-i, --requestId <requestId> ID of the permission request to approve
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging


Before using this command, log in to a SharePoint Online tenant admin site, using the spo login command.


To approve a permission request, you have to first log in to a tenant admin site using the spo login command, eg. spo login

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


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

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