How to resolve AADSTS650053: The application 'identity-client-app' asked for scope 'AllSites.Manage' that doesn't exist on the resource '00000003-0000-0000-c000-000000000000' error

Perekezimo Willimo 0 Reputation points
2025-08-11T11:21:03.23+00:00

I'm working on a mini project where a middleware handles leave requests submitted in SharePoint. To achieve this, I created an identity application on Azure and add permissions to the API. I then tried to access SharePoint after providing credentials like 'Client ID', 'Client Secret', 'Tenant ID' and 'SharePoint URL' but got the following error:
AADSTS650053: The application 'identity-client-app' asked for scope 'AllSites.Manage' that doesn't exist on the resource '00000003-0000-0000-c000-000000000000'.

I have also removed the 'AllSites.Manage' scope and replaced it with 'Sites.Manage.All'. But I still get the same error.

How do I resolve this issue?

Microsoft Security | Microsoft Graph

2 answers

Sort by: Most helpful
  1. Carolyne-3676 1,146 Reputation points
    2025-09-03T07:23:00.2433333+00:00

    The error simply means that there is a permission mismatch- the permissions your application is requesting and the permissions available on the target resource do not match.
    The application is requesting for a scope-AllSites.Manage which is a SharePoint Permission. Hence it is trying to get this permission from Microsoft Graph API which does not have equivalent SharePoint permissions or rather the scope name is not equivalent.
    To resolve this-identify the appropriate Microsoft Graph Permissions using the Permission Reference here- https://learn.microsoft.com/en-us/graph/permissions-reference#sitesmanageall and then retry the scenario. Ensure that Sites.Manage.All is admin consented is App permissions. If you have code ensure that the scopes requested in it match what you have configured on the portal.

    Was this answer helpful?

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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