What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)
Additional environment details
No response
Describe the bug / error
When we try to approve a SharePoint API permission in the SharePoint admin center under "Pending requests" it seems that our request has been fulfilled. At first glance the approved permission moves to the"Approved requests" group in the UI. After refreshing the page we see that the requests are not visible anymore in the "Approved requests" group.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
No response
Describe the bug / error
When we try to approve a SharePoint API permission in the SharePoint admin center under "Pending requests" it seems that our request has been fulfilled. At first glance the approved permission moves to the"Approved requests" group in the UI. After refreshing the page we see that the requests are not visible anymore in the "Approved requests" group.
When we inspect the network traffic, while approving, we see that the Deny endpoint is called when approving: https://tenant-admin.sharepoint.com/_api/SPOInternalUseOnly.SPOWebAppServicePrincipal/PermissionRequests('GUID')/Deny
The SPFX functionality breaks as depicted below:
Steps to reproduce
Expected behavior
Request should be approved instead of denied when approving it.