Select Language:
When working with a site collection, it’s important to have the right permissions set up to read data properly. Specifically, you need both “Sites.Selected” and “Sites.Read.All” permissions.
First, “Sites.Selected” is an endpoint that allows an administrator to grant specific permissions—such as Read, Write, or both—to an application for a particular site collection. Think of it as giving the app the keys to access that site.
To get started, develop your application with “Sites.Selected” permission. Once your app is ready, you’ll use the “Sites.Selected” endpoint to give the application Read permission to access the site collection. This way, the app can read data from the site without needing full control.
Make sure to follow these steps carefully to ensure your application has the proper access. If you find this advice helpful, please consider accepting the answer and giving it an upvote. If you have more questions, don’t hesitate to leave a comment.
Also, if you want to receive email updates about this topic, check out the instructions in the official documentation to enable email notifications.




