Skip to content
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

Error ensuring domain-wide principals: Entitlement Name too long #10007

Open
3 of 9 tasks
RicBruIAI opened this issue Nov 7, 2024 · 1 comment
Open
3 of 9 tasks

Error ensuring domain-wide principals: Entitlement Name too long #10007

RicBruIAI opened this issue Nov 7, 2024 · 1 comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@RicBruIAI
Copy link

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

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version
  • SPFx version
  • Node.js version
  • etc

Describe the bug / error

I am facing an issue on SharePoint administration page, I cannot access to the list of pending API Access requests because of this error popup:

Error ensuring domain-wide principals: Entitlement Name too long. Entitlement: [EncodingVersion=2,EntitlementId=39cb2f57-403c-497d-abcc-f6148c303db0,IsDisabled=False,Name=Accedere all'entità di sicurezza dell'applicazione Web di estendibilità del client di SharePoint Online,Description=Consente all'applicazione di accedere all'entità di sicurezza dell'applicazione Web di estendibilità del client di SharePoint Online per conto dell'utente connesso.,Definition=,ClaimValue=user_impersonation,Origin=,ResourceScopeType=Personal,IsPrivate=False,UserConsentDisplayName=Accedere all'entità di sicurezza dell'applicazione Web di estendibilità del client di SharePoint Online,UserConsentDescription=Consente all'applicazione di accedere all'entità di sicurezza dell'applicazione Web di estendibilità del client di SharePoint Online per conto dell'utente.,DirectAccessGrantTypes=,ImpersonationAccessGrantTypes=[Impersonator=Application,Impersonated=User,skipValueChangeEvent=False],skipValueChangeEvent=False,EntitlementCategory=Default,DependentMicrosoftGraphPermissions=,IsPreauthzOnlyDirectAccessGrant=False,IsPreauthzOnlyImpersonationGrant=False]. paramName: Entitlement.Name, paramValue: , objectType: Microsoft.Online.DirectoryServices.Entitlement

Furthermore, I've noticed that the application: SharePoint Online Client Extensibility Web Application Principal is not created automatically when installing the web part on SharePoint with requests on Graph (it has always worked before today).

NOTICE: "Accedere all'entità di sicurezza dell'applicazione Web di estendibilità del client di SharePoint Online" (the name too long issue) is the Italian translation of "SharePoint Online Client Extensibility Web Application Principal".

8thlm4TK

Steps to reproduce

Just installed a web part on SharePoint AppCatalog and went to the Sharepoint administration page as usual, the error pops-up.

Expected behavior

  1. SharePoint Online Client Extensibility Web Application Principal created successfully;
  2. Can go to the API Access management page and approve pending user_impersonation requests
@RicBruIAI RicBruIAI added the type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. label Nov 7, 2024
@cpercarb
Copy link

Hello,

We are experiencing the same error in one of our customer’s tenants. This tenant is also in Italian, and the issue began after we deleted the SharePoint Online Web Application Principal and accessed the API page to recreate it automatically.

Please let us know if there are any updates or solutions available.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Projects
None yet
Development

No branches or pull requests

2 participants