Investigating Sites.Selected access denied in a Graph integration

Check consent, the specific SharePoint resource grant and the token when an application cannot reach a site.

Discuss integrations and automation

Identify the intended resource

Record the application, tenant, site and operation that failed, without putting an access token or customer document into a support ticket. A denied response can have several causes, so review the actual error and target with the Microsoft 365 administrator.

Check both permission steps

Microsoft explains that Selected permissions require an approved scope and an explicit assignment to the relevant resource. Consent to Sites.Selected alone does not grant access to every site, and a resource assignment alone is insufficient without the appropriate permission in the token.

Review the access model

Confirm that the assigned role permits the intended read or write operation and that the application is using the correct tenant and resource. Microsoft also notes that delegated access is limited by both the application and the signed-in user’s permissions.

Verify safely

Use an isolated test site, fictional files and mocked or appropriately isolated API responses to check an allowed and an ungranted resource. Record the resolution without exposing tokens, and do not alter production permissions or access live customer documents during testing.

Explore the service

Start a conversation

Let’s make it
work better.

Tell us about your people, systems or premises. We’ll discuss what you need and agree a practical next step.

This opens a draft in your email application. Review your enquiry and send it when you’re ready.