Microsoft OneDrive
Her Microsoft OneDrive eylemi için minimum OAuth kapsamlarını inceleyin.
Review the validated minimum OAuth scopes and Sites.Selected limitations for every Microsoft OneDrive action.
Review the validated minimum standard delegated scopes for every Microsoft OneDrive action. Eşleme şunları kapsar: dosyalar, klasörler, paylaşımlar ve izinler.
Personal OneDrive and site-backed drives have different permission requirements.
Files.ReadandFiles.ReadWritecover personal/me/driveoperations, while site or group drives require the applicable.Allscope or permissions for selected sites.
Eylem başına minimum kapsamlar
Her Microsoft OneDrive bağlantısı ayrıca
openid,offline_accessveUser.Readister.
Eylem Açıklama Minimum kapsamlar
Check file access whether bir dosya can be accessed kontrol eder. Files.Read.All
Create folder folder oluşturur. Files.ReadWrite.All
Download file file indirir. Files.Read.All
Download OneDrive file a OneDrive file indirir. Files.Read.All
Get file metadata file metadata alır. Files.Read.All
Get folder by name a folder by name alır. Files.Read.All
List available drives available drives listeler. Files.Read.AllSites.Read.AllGroup.Read.All
List files in folder files in folder listeler. Files.Read.All
List files in OneDrive folder files in a OneDrive folder from bir klasör URL listeler. Files.Read.All
List folder changes folder changes listeler. Files.Read.All
Resolve drive Resolves drive. Files.Read.All
Resolve file Resolves file. Files.Read
Resolve folder Resolves folder. Files.Read.All
Search files files arar. Files.Read.All
Search OneDrive OneDrive arar. Files.Read.All
Upload file file yükler. Files.ReadWrite
Some rows use a thinner scope because the action only reaches personal OneDrive:
- Resolve file uses
Files.Readfor personal/me/drive, including an explicit personal drive ID. - Upload file writes only to personal
/me/drive, soFiles.ReadWriteis enough. - Create folder needs
Files.ReadWrite.Allto write to an arbitrary site drive. - List available drives also needs
Group.Read.Allfor/me/memberOfandSites.Read.Allfor followed-site discovery. - Shared-link resolution through
/sharesworks withFiles.Read.All. Site and group drive reads needFiles.Read.All.
Actions affected by Sites.Selected
The following actions may not work completely with selected site permissions:
The List available drives action discovers personal, group, and followed-site drives. These discovery results are empty with selected-only permissions, and the action reports notices for group and SharePoint discovery.
The Resolve drive action can resolve a known drive ID, but its name search enumerates /me/drives. That enumeration is empty with selected-only permissions.
The Resolve folder action starts with personal /me/drives and fans out across those drives. It does not resolve site folder IDs with selected-only permissions.
The Resolve file action accesses personal OneDrive only. Sites.Selected does not apply, and personal /me/drives is empty with selected-only permissions.
The Upload file action writes to personal OneDrive only. Sites.Selected does not apply, and personal /me/drives is empty with selected-only permissions.
Native features
Additionally, the following native features may be affected by a Selected grant:
- Folder Sync: Synchronizes local and cloud folders across your workspace.
- Company Knowledge: Indexes connected drives and documents for AI search and chat context.
When using selected-only permissions, the drive picker cannot list granted site drives because the underlying drive discovery relies on broad listing actions. While ajan can still read known files from a granted site if you provide explicit drive and item IDs, dynamic browsing and automatic drive selection in the UI will not work.