'resourceid cannot be empty' when approving API access in admin site
-
18-02-2021 - |
Solution
It is probably another error. I suggest you try to approve with powershell, this will give you a better error message. I had the same issue, and the reason was that I missed one space in the resource name. With powershell, I got a better error message.
OTHER TIPS
Above issue occur, if resource Id is not correct. When we define permission in Package.Json "webApiPermissionRequests": [ { "resource": "spfx", "scope": "user_impersonation" } ]
Resource means your Azure Active Directory instance name. It should match and scope should also be defined in that AAD instance.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange