Do website visitors need SharePoint access to see the files?
No. The request is authorised server-side with the organisation's own Graph credentials, so a visitor browses and downloads the published files without signing in to Microsoft at all.
Using WordPress? Every integration here is also available as a plugin. Browse the plugin store →
Articles SharePoint
How do you put a SharePoint document library on a public website so the newest version is always the one visitors see?
Read the library through Microsoft Graph at request time and render it as part of the page, rather than exporting files and re-uploading them. The library stays the single copy, the website shows whatever is in it now, and the publishing workflow becomes "save the file where it belongs".
Nothing, on the first day. The problem is the second version. Publishing by export creates two copies of every document and an unwritten obligation to keep them in step, and that obligation is discharged by a person who has other work — so the website drifts behind SharePoint, silently, and nobody finds out until a customer quotes a superseded price list back at you.
A drive, hanging off a site, containing driveItems. That single sentence explains most of the API surface: a SharePoint document library and a OneDrive folder are the same kind of object to Microsoft Graph, which is why a component that can render one can render the other with no extra work.
It also explains the addressing problem everyone hits first. A human names a library by its site URL and its display name; Graph wants a site id and a drive id. Resolving one to the other is a lookup, and it is the kind of lookup that belongs on a server where it can be cached, rather than in the browser where it becomes two extra round trips before anything renders.
By deciding the subset in configuration, so that everything outside it is unreachable rather than merely unlinked. Four controls do most of the work, and they compose.
Scope the permission as well as the view. Sites.Selected lets an administrator grant an application access to named site collections instead of every site in the tenant — but only if no broader site or file permission is also attached to the same application, because Graph permissions are additive and the most permissive one wins.
No. The request is authorised server-side with the organisation's own Graph credentials, so a visitor browses and downloads the published files without signing in to Microsoft at all.
Not by themselves. The application reads with its own granted permission, independent of any individual's access, so what appears on the page is decided by how you scope the component and the permission — not by item-level permissions inside the library.
Yes, when the page is rendered from a live read rather than from an exported copy. The library is queried at request time, so adding, renaming or removing a file in SharePoint changes the website with no page edit.
Not with the WPIntegrate Documents component — it is read-only, and browsing, previewing and downloading are the operations it performs. That is a deliberate limit: an upload path from an anonymous visitor into corporate storage is a far larger surface than a read.
Microsoft Graph
What a Microsoft 365 administrator is actually agreeing to at the consent screen
What does granting admin consent to a Microsoft Graph application really give it access to?
Read the articleEmbedding
Showing Microsoft 365 data to visitors who have no Microsoft account
Can a public website display SharePoint, Outlook or directory data to anonymous visitors?
Read the articleThese articles describe the general shape. Tenants differ, policies differ, and the interesting questions are the ones where the general shape does not fit.