Error: Could not retrieve Global Service Principal ID Error: Error: {}

Axelle Hillewaere - Savaco 25 Reputation points
2023-05-12T07:14:34.2133333+00:00

When I want to approve the requests in the API Access I get following error:User's image

I followed this article (https://ericschrader.wordpress.com/2020/06/23/sharepoint-online-bad-service-principal-breaks-sharepoint-admin-api-access-global-service-principal-id-error-resolved/) and deleted the “SharePoint Online Client Extensibility Web Application Principal Helper”, but that didn't help.
I currently have the role as SharePoint Administrator (no global admin). Can this be the reason or how can I solve this?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,594 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,630 questions
{count} vote

Accepted answer
  1. RaytheonXie_MSFT 31,076 Reputation points Microsoft Vendor
    2023-05-15T08:09:59.2733333+00:00

    Hi @Axelle Hillewaere - Savaco

    The admin role that's required to approve permissions depends on the API. To approve permissions to any of the third-party APIs registered in the tenant, the application administrator role is sufficient. To approve permissions for Microsoft Graph or any other Microsoft API, the Global Administrator role is required. The API access page is not available for people signed in with the global reader role.

    If you have globe admin role, you can go to Azure AD -> Enterprise Applications and remove Application Type as a filter and check if you have following 2 apps

    • SharePoint Online Client Extensibility Web Application Principal
    • SharePoint Online Client Extensibility Web Application Principal Helper

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful