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
The m365 spo serviceprincipal permissionrequest list command is not correctly returning only the pending permission requests. The output also includes permission requests that have already been approved, and there's a mismatch with what is shown as pending under the API access section in the SPO admin center.
Steps to reproduce
Execute m365 spo serviceprincipal permissionrequest list
Compare results with what's shown in API access page
Expected results
The command should return a list of pending permission requests for the SharePoint Online service principal.
Actual results
The command is returning random results, including requests that are already granted.