Least Privilege
Start with the sites the workflow actually needs
Section titled “Start with the sites the workflow actually needs”SharePoint V1 is designed around Sites.Selected. The administrator chooses the SharePoint sites the customer-owned Entra app can access and grants only the role needed by the workflow.
Read operations need site access that permits reading. Create, upload, move, rename, delete, and find-or-create operations need write-capable site access.
Understand the boundary
Section titled “Understand the boundary”A Sites.Selected assignment applies at the SharePoint site level. It is not a per-library security boundary. A Drive ID identifies the document library a workflow action uses, but the Microsoft authorization boundary is the granted site.
Do not widen access to fix configuration mistakes
Section titled “Do not widen access to fix configuration mistakes”A 403 can come from missing consent, a missing site assignment, the wrong site, or a role too narrow for the operation. Investigate those first rather than switching to tenant-wide SharePoint permissions.
Related: Sites.Selected and permission troubleshooting.