Azure app with client secret - access to sharepoint

This post says application permissions sites.ReadWrite.All, will solve the share point access, but this gives lot of privileges, instead I want with sites.selected. But sharepoint tool is giving access denied. Can you please help me

Hey there and welcome to the forum,

It is definitely possible to use MS Graph QL Sites.Selected permission.

Have to admit I did not set this up myself yet, but did read up on that and encountered this set up in some of my projects.

In general when you set up Sites.Selected, by default there is no site selected and you need to define the permissions via POST request to graph ql - you can read up on that here:

You will need to get your site ID for that - you can read up on that here:

1 Like