Error ensuring domain-wide principals: Entitlement Name too long

Riccardo Bruè 5 Reputation points
2024-11-06T16:55:15.82+00:00

On SharePoint administration site 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).

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".

PS: I've also tried this solution but didn't work. The issue is also similar to this.

I attach an image:
Senza titolo

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,418 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,174 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,251 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Yuri Leontyev 0 Reputation points
    2025-02-05T14:21:54.2666667+00:00

    Hello,

    Looks like the problem is in the language the page is displayed in and incorrect Microsoft localizations (some languages (Italian or Polish) texts are larger that allowed in Entra ID app reg creation).

    For us, it helped to completely switch from Italian to English for global admin account and page worked fine with no error message and "SharePoint Online Client Extensibility Web Application Principal" was successfully created in Entra ID.

    You found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.