sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Unable to admin consent FileStorageContainer.Selected & Container.Selected

Open hervedorierai3 opened this issue 2 years ago • 10 comments

Hi, when I am in the 'Grant admin consent to the new permissions' chapter, I have these API permissions for my app registration : image

When I click on the "Grand admin consent for xxxx", I have this error message : Grant consent failed with error: Claim is invalid: 19766c1b-905b-43af-8756-06526ab42875 does not exist on resource application 00000003-0000-0ff1-ce00-000000000000. [WqVdRMRmv2C3fhn49dUtdv]

When I remove de related permission, and click on the admin consent : Grant consent failed with error: Claim is invalid: 4d114b1a-3649-4764-9dfb-be1e236ff371 does not exist on resource application 00000003-0000-0ff1-ce00-000000000000. [WqVdRMRmv2C3fhn49dUtdv]

When I remove de related permission, and click on the admin consent : Grant consent failed with error: Claim is invalid: 40dc41bc-0f7e-42ff-89bd-d9516947e474 does not exist on resource application 00000003-0000-0000-c000-000000000000. [WqVdRMRmv2C3fhn49dUtdv]

When I remove de related permission, and click on the admin consent : Grant consent failed with error: Claim is invalid: 085ca537-6565-41c2-aca7-db852babc212 does not exist on resource application 00000003-0000-0000-c000-000000000000. [WqVdRMRmv2C3fhn49dUtdv]

Finaly I am unable to admin consent all of the API permissions related to SharePoint Embedded.


Document Details

⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

hervedorierai3 avatar Dec 29 '23 08:12 hervedorierai3

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Dec 29 '23 08:12 ghost

Also running into this issue.

Also, not seeing any documentation on granting permissions on Container.Manage as it is not available in the API selector, but this tutorial requires it:

https://learn.microsoft.com/en-us/sharepoint/dev/embedded/mslearn/m02-03-hol#add-project-global-settings-and-constants

parmira5 avatar Jan 07 '24 00:01 parmira5

Same issue as @bpalma-clb

jaloplo avatar Jan 22 '24 16:01 jaloplo

Same issue here.

I solved it by clicking on "Enterprice applications" and granting permissions through there image image there it worked for me

Ayax0 avatar Jan 22 '24 19:01 Ayax0

It worked for me as well. Thanks for the info @Ayax0

jaloplo avatar Jan 23 '24 11:01 jaloplo

Worked for me! Thank you.

wmacdonald10 avatar Aug 07 '24 17:08 wmacdonald10

If someone knows how to best put the answer of @Ayax0 in words, it might be good if that person could file a PR in which he/she mentions this in this document at the end: https://github.com/SharePoint/sp-dev-docs/blob/main/docs/embedded/concepts/app-concepts/auth.md

SimonSimCity avatar Feb 10 '25 17:02 SimonSimCity

Hello @hervedorierai3, Thank you for bringing this issue to our attention. Could you please confirm if the issue still persists for you?

Amey-MSFT avatar Jul 07 '25 11:07 Amey-MSFT

We are closing this issue for now. If the problem persists, feel free to reopen it or open a new one.

Amey-MSFT avatar Jul 15 '25 06:07 Amey-MSFT