-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Permissions disappear from SharePoint admin center after approval #10041
Comments
Same here! |
@thomaskjaerulff could this be a duplicate from #9962 ? |
Thank you for your comment @joelfmrodrigues. You are absolutely right that this is a duplicate of #9962. |
@thomaskjaerulff I was able to grant permissions for platform APIs by granting them directly to the relevant Entra ID app registration that is used by SPFx. You can use this blog post from the awesome @michaelmaillot as an example: https://michaelmaillot.github.io/tips/20210302-spfx-api-permissions/ |
Thank you for the information @joelfmrodrigues. |
To follow up on your previous comment @joelfmrodrigues. For further information, when trying to use the m365 CLI as suggested by @michaelmaillot in his great blog post, I receive the error message: |
@thomaskjaerulff I had the exact same issue trying to approve my custom API, very frustrating. |
@joelfmrodrigues - Keep in mind that this is happening for a standard Microsoft Graph permission also. I will let you know if something comes out of the two Premier Microsoft Support cases I have running. |
@thomaskjaerulff there is an update on the duplicated issue :) |
@joelfmrodrigues - Yes, I got a similar response on the two Premier Microsoft Support cases I have open on two different tenants. However they said the fix will be rolled out the 20th. |
As shared in the #9962, fix should be now out, but we would love to get this confirmed before closing this and the duplicate issue. Thanks for the confirmation advance 🙏 |
Thank you for joining the conversation @VesaJuvonen. |
The same behaviour here. Approving seems to work and I see no errors on the console network requests, but then refresh the page and the approved permission is gone. Trying to approve via M365 CLI or PnP.PowerShell also still doesn't work. |
@VesaJuvonen & @joelfmrodrigues - I've made a video recording of my experience on an new demo tenant which has been created today: |
@VesaJuvonen & @joelfmrodrigues - My assumption is, that there is something wrong with the app registration "SharePoint Online Client Extensibility Web Application Principal" |
@VesaJuvonen - I've received e-mails from the two Microsoft Premier Support cases (created on separate tenants), that the issue has been fixed. However after checking, the issue unfortunately still remains. Do you have any update? |
@joelfmrodrigues - Is the issue the same on your tenant(s)? |
@thomaskjaerulff yes exactly the same error, and I confirm that it is still not fixed |
@joelfmrodrigues and @VesaJuvonen - I tried on the existing environments again this morning. Here the issue still remains. I'm worried about the existing environments. Do I need to do something actively to get it to work on these environments? |
Quick update to this. I tried to get the SharePoint Online Client Extensibility Web Application Principal app registration recreated in hope of having the issue resolved, but still no luck.
|
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
I have a SPFx web part installed on a sharepoint enviroment with two Microsoft Graph webApiPermissionRequests in the package-solution.json file.
Once the SPFx web part is deployed, I go to the Sharepoint Admin Site API Access Page to approve the Web Api Permission Requests. After approving them, it looks well, but when I refresh the page, or navigate away and back, I can`t see the approved items anymore.
After redeploying the SPFx package to the app catalog site, the previously approved Web Api Permission Requests are shown in the Pending Request section again.
We are seeing this issue on multiple tenants so we believe we are dealing with a general issue.
Steps to reproduce
Expected behavior
I expect that after approving the Web Api Permission Requests, they will remain in the Approved section on the Sharepoint Admin Site API Access Page.
The text was updated successfully, but these errors were encountered: