Pipory
Node reference

OneDrive (OAuth)

OneDrive (OAuth) node reference - all 89 operations, the credential it needs, and a worked example.

OneDrive and SharePoint document libraries via the Microsoft Graph v1.0 Files API, on a connected Microsoft account.

Credential: Microsoft account - see Credentials.

Delegated permissions

Each operation below lists the delegated permission it needs. Delegated permissions are added to your own Entra app registration under API permissions → Microsoft Graph → Delegated permissions, then consented to when you connect the Microsoft credential. Every permission below is the DELEGATED (work or school account) one, because Pipory's Microsoft credential is an authorization-code flow acting as the signed-in user. Four things this catches people out on. First, the permission named is the one for the DEFAULT /me/drive scope — pointing the same operation at another user's, a group's or a SharePoint site's drive escalates it to the .All variant, which is why the node ships an "OneDrive & SharePoint (all files)" scope preset alongside the plain "OneDrive Files" one; the plain preset grants only Files.ReadWrite and reaches your own OneDrive and nothing else. Second, the SharePoint list plane (document-library metadata columns) is not gated by Files.* at all but by Sites.Read.All / Sites.ReadWrite.All, and creating a list needs Sites.Manage.All. Third, several rows are personal-Microsoft-account only and say so in parentheses rather than naming an Entra checkbox that will never exist — the whole albums-and-bundles plane is one, and Restore from the recycle bin is another (Graph's own page lists delegated work-or-school as "Not supported" there). Fourth, Graph permissions do not nest the way Google's scopes do, and a 403 names nothing: its body says only accessDenied, so the node's error message states the required permission itself. If a run fails with a permission error, the node names the missing delegated permission in the error - grant it and re-run; you do not need to rebuild the workflow.

Operations (89)

Drives

OperationWhat it doesDelegated permission
getDriveGet driveFiles.Read
listDrivesList drivesFiles.Read
getDriveRootGet drive root folderFiles.Read
getSpecialFolderGet a special folderFiles.Read
listSpecialFolderChildrenList a special folder's childrenFiles.Read
listFollowedItemsList followed itemsFiles.Read
getDeltaTrack changes (delta)Files.Read
getDeltaLatestTokenGet the latest delta tokenFiles.Read
listDriveActivitiesList drive activitiesFiles.Read

Files & folders — read

OperationWhat it doesDelegated permission
getItemGet file or folderFiles.Read
listChildrenList a folder's childrenFiles.Read
listFilesList files in a folder (by path)Files.Read
searchDriveSearch the whole driveFiles.Read
searchFolderSearch inside a folderFiles.Read
downloadFileDownload file contentsFiles.Read
downloadFileAsFormatDownload converted (PDF, JPG, HTML, GLB)Files.Read
listThumbnailsList thumbnailsFiles.Read
getThumbnailGet one thumbnailFiles.Read
getItemPreviewGet a short-lived preview URLFiles.Read
getItemAnalyticsAllTimeGet all-time analyticsFiles.Read
getItemAnalyticsLastSevenDaysGet last-seven-days analyticsFiles.Read
listItemActivitiesList activities on an itemFiles.Read
getActivitiesByIntervalGet activity stats by intervalFiles.Read
getItemListItemGet the item's SharePoint list entryFiles.Read

Files & folders — write

OperationWhat it doesDelegated permission
createFolderCreate folderFiles.ReadWrite
uploadFileUpload file (by path)Files.ReadWrite
replaceFileContentReplace an existing file's contentsFiles.ReadWrite
createUploadSessionStart a large-file upload sessionFiles.ReadWrite
updateItemRename / update metadataFiles.ReadWrite
moveItemMove to another folderFiles.ReadWrite
copyItemCopy file or folderFiles.ReadWrite
deleteItemDelete (to recycle bin)Files.ReadWrite
permanentDeleteItemPermanently deleteFiles.ReadWrite
restoreItemRestore from the recycle bin(delegated work-or-school is not supported by Graph for this endpoint — it needs a personal Microsoft account with Files.ReadWrite.All, or an app-only token)
followItemFollow itemFiles.Read
unfollowItemUnfollow itemFiles.Read
checkOutItemCheck outFiles.ReadWrite
checkInItemCheck inFiles.ReadWrite
discardCheckOutDiscard check-outFiles.ReadWrite

Sharing & permissions

OperationWhat it doesDelegated permission
createSharingLinkCreate a sharing linkFiles.ReadWrite
inviteToItemShare with people (invite)Files.ReadWrite
listItemPermissionsList permissionsFiles.Read
getItemPermissionGet permissionFiles.Read
createItemPermissionCreate an app permissionFiles.ReadWrite
updateItemPermissionUpdate permissionFiles.ReadWrite
deleteItemPermissionRemove permissionFiles.ReadWrite
grantSharingLinkAccessGrant people access to a sharing linkFiles.ReadWrite
getSharedItemResolve a sharing linkFiles.ReadWrite
getSharedItemDriveItemGet the item behind a sharing linkFiles.ReadWrite
listSharedItemChildrenList children behind a sharing linkFiles.ReadWrite
downloadSharedItemDownload the file behind a sharing linkFiles.ReadWrite

Version history

OperationWhat it doesDelegated permission
listItemVersionsList versionsFiles.Read
getItemVersionGet versionFiles.Read
downloadItemVersionDownload a past versionFiles.Read
restoreItemVersionRestore a past versionFiles.ReadWrite

Albums & bundles (personal OneDrive)

OperationWhat it doesDelegated permission
listBundlesList bundles and albumsFiles.Read (personal Microsoft accounts only)
getBundleGet bundleFiles.Read (personal Microsoft accounts only)
createBundleCreate a bundle or albumFiles.ReadWrite (personal Microsoft accounts only)
updateBundleRename a bundleFiles.ReadWrite (personal Microsoft accounts only)
deleteBundleDelete a bundleFiles.ReadWrite (personal Microsoft accounts only)
addItemToBundleAdd an item to a bundleFiles.ReadWrite (personal Microsoft accounts only)
removeItemFromBundleRemove an item from a bundleFiles.ReadWrite (personal Microsoft accounts only)

Retention & sensitivity labels

OperationWhat it doesDelegated permission
getRetentionLabelGet retention labelFiles.Read.All
setRetentionLabelApply a retention labelFiles.Read.All
removeRetentionLabelRemove the retention labelFiles.ReadWrite.All
lockOrUnlockRecordLock or unlock a recordFiles.ReadWrite.All
assignSensitivityLabelAssign a sensitivity labelFiles.ReadWrite.All
extractSensitivityLabelsExtract sensitivity labelsFiles.Read.All

SharePoint sites

OperationWhat it doesDelegated permission
getSiteGet siteSites.Read.All
getRootSiteGet the tenant root siteSites.Read.All
getSiteByPathGet site by hostname and pathSites.Read.All
searchSitesSearch sitesSites.Read.All
listSubsitesList subsitesSites.Read.All
listSiteColumnsList site columnsSites.Read.All
listSiteContentTypesList site content typesSites.Read.All

SharePoint lists & document-library columns

OperationWhat it doesDelegated permission
listSiteListsList a site's lists and librariesSites.Read.All
getSiteListGet listSites.Read.All
createSiteListCreate listSites.Manage.All
listListColumnsList a list's columnsSites.Read.All
listListContentTypesList a list's content typesSites.Read.All
listListItemsList list itemsSites.Read.All
getListItemGet list itemSites.Read.All
createListItemCreate list itemSites.ReadWrite.All
updateListItemFieldsUpdate list item columnsSites.ReadWrite.All
deleteListItemDelete list itemSites.ReadWrite.All
getListItemDeltaTrack list item changes (delta)Sites.Read.All
listListItemVersionsList list item versionsSites.Read.All
getListItemVersionGet list item versionSites.Read.All
restoreListItemVersionRestore a list item versionSites.ReadWrite.All