You cannot, this is an admin-level operation. Adding permissions programmatically requires your app to have the Site.FullControl.All
scope granted, which can only be done after admin consent. Refer to the documentation for more details: https://learn.microsoft.com/en-us/graph/api/site-post-permissions?view=graph-rest-beta&tabs=http
How Can I Grant Read Permission to an App for a site Without an Admin Role?
I am trying to grant read permission to my Azure app for a specific SharePoint site, but I am facing challenges due to permission restrictions.
I have access to the site and can manage its content.
I am also the owner of the Azure app, which means I can configure its settings and permissions within my scope.
However, when I attempt to assign read permission to the app for the site, I am unable to do so because I do not have an admin role in the Azure tenant.
I tried using Microsoft Graph API to grant the required permission, but it explicitly requires an admin role to approve or configure access for an app. Since I do not have this role, I am unable to complete the process.
I am looking for a way to grant site-level read permissions to my Azure app without requiring admin approval or finding an alternative method to achieve this within my current access limitations.
Microsoft Security | Microsoft Entra | Microsoft Entra ID
-
Vasil Michev 119.7K Reputation points MVP Volunteer Moderator
2025-03-03T17:03:24.25+00:00