Skip to docs navigation

Microsoft Files integration guide

Verified

How to connect Microsoft Files to WEXTL and use its 3 triggers and 35 actions in your workflows. About Microsoft Files: OneDrive and SharePoint files. Upload, download and manage documents.

  • 3 triggers
  • 13 searches
  • 22 actions
  • Polling
  • Auth: OAuth

AI-assisted documentation14 min read

This documentation is compiled from our integration source code, internal specs for Microsoft Files, its official API documentation and anonymized requests logs we collect from our support team[2].

Open Microsoft Files on WEXTL →
  • Microsoft Files
  • WEXTL
  • Bitwarden
  • Box
  • Bitbucket
  • Browserless
  • Azure Storage
  • Cockpit
  • AWS Cognito
  • API Verve
  • Currents
  • AssemblyAI
  • Clerk
  • Cortex
  • Adafruit
  • AWS Lambda
  • Bunny.net
  • Cloudflare
  • 0CodeKit
  • CloudConvert
  • CircleCI
  • Apify
  • AWS S3
  • Crowdin
  • Bright Data
  • Browse AI
  • Agenty
  • BugBug
  • Alchemy
  • Better Stack
  • Buildkite
  • Contentful
Credential type option 1

Microsoft Files - Secondary

You’ll be redirected to sign in and approve access. Your password is never shared with WEXTL.

  • TenantselectRequired

    Go to https://entra.microsoft.com and copy your tennat ID or select any of the following`[1]

  • Client IDtextRequired

    Go to the Microsoft Entra admin center → Entra ID → App registrations and select New registration. → enter a description and expiration → Add, then immediately copy your Client ID[1]

  • Client SecretpasswordRequired

    Copy you client Secret from the previously created app[1]

Integration requests 12 permissions:

  • Files.Read
  • Files.Read.All
  • Files.Read.Selected
  • Files.ReadWrite
  • Files.ReadWrite.All
  • Files.ReadWrite.AppFolder
  • Files.ReadWrite.Selected
  • Sites.Read.All
  • Sites.ReadWrite.All
  • Sites.Manage.All
  • Sites.FullControl.All
  • Sites.Selected
Credential type option 2

Microsoft Files - Primary

You’ll be redirected to sign in and approve access. Your password is never shared with WEXTL.

  • TenanttextRequired

    Directory (tenant) ID or verified domain, e.g. contoso.onmicrosoft.com. common/organizations/consumers are not valid for app-only.[1]

  • Client IDtextRequired

    Register your application in the Microsoft Entra admin center, then copy the Application (client) ID from the Overview page of the app[1]

  • Client SecretpasswordRequired

    In your app registration, go to Certificates & secrets → Client secrets, create a new client secret, and copy its value immediately after it's generated.[1]

  • Email or User IDtextRequired

    Go to Microsoft Entra admin center → Users → select the user → Overview, then copy the Object ID, or enter The email of the user.[1]

Integration requests 12 permissions:

  • Files.Read
  • Files.Read.All
  • Files.Read.Selected
  • Files.ReadWrite
  • Files.ReadWrite.All
  • Files.ReadWrite.AppFolder
  • Files.ReadWrite.Selected
  • Sites.Read.All
  • Sites.ReadWrite.All
  • Sites.Manage.All
  • Sites.FullControl.All
  • Sites.Selected
  1. Log in to your WEXTL account, add the Microsoft Files node module to your workflow, and click Create new credential.
  2. Optional: In the Credential name field, enter a name for the credential.
  3. Enter the authentication credentials you copied from your Microsoft Files account, or follow the on-screen instructions to create the credential.
  4. If prompted, authenticate your account and confirm access.
  5. If you want to make changes to your credential in the future, follow the steps in Manage credentials →
New Microsoft Files credential form open next to the Microsoft Files node in the WEXTL workflow builder
Video slide demonstrates how to integrate Microsoft Files in the WEXTL visual workflow builder.[4]

Watch Drives

TriggerScheduled check for new drives.
Output fields[3]
FieldType
Created date timedate
Descriptiontext
IDtext
Last modified date timedate
Nametext
Web URLurl
Drive typetext
Created byobject
Userobject
Last modified byobject
Userobject
Ownerobject
Userobject
Quotaobject
Deletednumber
Remainingnumber
Statetext
Totalnumber
Usednumber

Watch File Storage Containers

TriggerPolls a container type for fresh containers.
Output fields[3]
FieldType
@odata typetext
IDtext
Display nametext
Descriptiontext
Container type IDtext
Assigned sensitivity labelobject
@odata typetext
Custom propertiesobject
@odata typetext
Viewpointobject
@odata typetext
Statustext
Created date timedate
Settingsobject
@odata typetext

Watch Storage Container Types

TriggerRecurring scan for new container types.
Output fields[3]
FieldType
@odata typetext
IDtext
Nametext
Owning app IDtext
Billing classificationtext
Created date timedate
Expiration date timedate
Etagtext
Settingsobject
URL templateurl
Is discoverability enabledboolean
Is search enabledboolean
Is item versioning enabledboolean
Item major version limitnumber
Max storage per container in bytesnumber
Is sharing restrictedboolean
Consuming tenant overridablestext
Agentobject

Download a File

ActionFile content for use in later steps.
Input fields[3]
FieldType
Item IDRequired
choice
Output fields[3]
FieldType
Datatext

List Available Drives

SearchEvery drive you may open, with owner details.
Input fields[3]
FieldType
Limitnumber
Output fields[3]
FieldType
Created date timedate
Descriptiontext
IDtext
Last modified date timedate
Nametext
Web URLurl
Drive typetext
Created byobject
Userobject
Last modified byobject
Userobject
Ownerobject
Userobject
Quotaobject
Deletednumber
Remainingnumber
Statetext
Totalnumber
Usednumber

List Bundles

SearchEvery bundle with its ID and name.
Input fields[3]
FieldType
Limitnumber
Output fields[3]
FieldType
IDtext
Nametext
Bundleobject
Child countnumber
Albumobject

List Drive Activities

SearchFeed of who acted on a drive and when.
Input fields[3]
FieldType
Drive IDRequired
choice
Limitnumber
Output fields[3]
FieldType
IDtext
Accessobject
Activity date timedate
Actorobject
Userobject

List File Storage Container Types

SearchEvery container type registered for your tenant.
Input fields[3]
FieldType
Limitnumber
Output fields[3]
FieldType
@odata typetext
IDtext
Nametext
Owning app IDtext
Billing classificationtext
Created date timedate
Expiration date timedate
Etagtext
Settingsobject
URL templateurl
Is discoverability enabledboolean
Is search enabledboolean
Is item versioning enabledboolean
Item major version limitnumber
Max storage per container in bytesnumber
Is sharing restrictedboolean
Consuming tenant overridablestext
Agentobject

List File Storage Containers

SearchStorage containers that share a type.
Input fields[3]
FieldType
Container Type IDRequired
choice
Limitnumber
Output fields[3]
FieldType
@odata typetext
IDtext
Display nametext
Descriptiontext
Container type IDtext
Assigned sensitivity labelobject
@odata typetext
Custom propertiesobject
@odata typetext
Viewpointobject
@odata typetext
Statustext
Created date timedate
Settingsobject
@odata typetext

List Followed Items

SearchItems you follow in your drive.
Input fields[3]
FieldType
Limitnumber
Output fields[3]
FieldType
IDtext
Nametext
Sizenumber
Last modified date timedate

Retrieve a Bundle

ActionName and details of one bundle.
Input fields[3]
FieldType
Bundle IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Bundleobject
Child countnumber

Retrieve a Drive

ActionDetails of one drive, from name to owner.
Input fields[3]
FieldType
Drive IDRequired
choice
Output fields[3]
FieldType
Created date timedate
Descriptiontext
IDtext
Last modified date timedate
Nametext
Web URLurl
Drive typetext
Created byobject
Userobject
Last modified byobject
Userobject
Ownerobject
Userobject
Quotaobject
Deletednumber
Remainingnumber
Statetext
Totalnumber
Usednumber

Retrieve a Drive Item

ActionAuthor, timestamps and links of one drive item.
Input fields[3]
FieldType
Item IDRequired
choice
Output fields[3]
FieldType
Created byobject
Userobject
Created date timedate
C tagtext
E tagtext
Folderobject
Child countnumber
IDtext
Last modified byobject
Userobject
Last modified date timedate
Nametext
Rootobject
Sizenumber
Web URLurl

Retrieve a File Container Storage

ActionName, status and settings of a storage container.
Input fields[3]
FieldType
Container Type IDRequired
choice
Output fields[3]
FieldType
@odata typetext
IDtext
Display nametext
Descriptiontext
Container type IDtext
Statustext
Created date timedate
Settingsobject
Is ocr enabledboolean
Item major version limitnumber
Is item versioning enabledboolean

Retrieve a File Container Storage Type

ActionBilling and expiry details of one container type.
Input fields[3]
FieldType
File Storage Container Type IDRequired
choice
Output fields[3]
FieldType
@odata typetext
IDtext
Nametext
Owning app IDtext
Billing classificationtext
Billing statustext
Created date timedate
Expiration date timedate
Etagtext
Settingsobject
URL templateurl
Is discoverability enabledboolean
Is search enabledboolean
Is item versioning enabledboolean
Item major version limitnumber
Max storage per container in bytesnumber
Is sharing restrictedboolean
Consuming tenant overridablestext
Agentobject

Retrieve the User Drive

ActionDrive of the signed-in account.
Output fields[3]
FieldType
Created date timedate
Descriptiontext
IDtext
Last modified date timedate
Nametext
Web URLurl
Drive typetext
Created byobject
Userobject
Last modified byobject
Userobject
Ownerobject
Userobject
Quotaobject
Deletednumber
Remainingnumber
Statetext
Totalnumber
Usednumber

Activate a File Container Storage

ActionPuts a storage container into service.
Input fields[3]
FieldType
Container Type IDRequired
choice

Add a Bundle Item

ActionGroups one drive item under a bundle.
Input fields[3]
FieldType
Bundle IDRequired
choice
Item IDRequired
choice

Copy a Drive Item

ActionMakes a named copy of a drive item.
Input fields[3]
FieldType
Item IDRequired
choice
Parent Referenceobject
Drive IDRequired
choice
Parent IDRequired
choice
File NameRequired
text
Output fields[3]
FieldType
IDtext
Nametext
Parent referenceobject
Drive IDtext
Pathtext
IDtext

Create a Bundle

ActionA new bundle with optional starting items.
Input fields[3]
FieldType
NameRequired
text
Conflict BehaviorRequired
choice
Bundleobject
Childrenarray
Output fields[3]
FieldType
IDtext
Nametext
Bundleobject
Child countnumber

Create a File Container Storage

ActionContainer with a title and description.
Input fields[3]
FieldType
Display NameRequired
text
Container Type IDRequired
choice
Descriptiontext
Settingsobject
Is OCR Enabledboolean
Item Major Version Limitnumber
Is Item Versioning Enabledboolean
Output fields[3]
FieldType
@odata typetext
IDtext
Display nametext
Descriptiontext
Container type IDtext
Statustext
Created date timedate
Settingsobject
Is ocr enabledboolean
Item major version limitnumber
Is item versioning enabledboolean

Create a File Container Storage Type

ActionContainer type defined for an app.
Input fields[3]
FieldType
NameRequired
text
Owning App IDRequired
choice
Billing Classificationchoice
Settingsobject
Consuming Tenant Overridablestext
Is Discoverability Enabledboolean
Is Item Versioning Enabledboolean
Is Search Enabledboolean
Is Sharing Restrictedboolean
Item Major Version Limitnumber
Max Storage Per Container In Bytesnumber
Sharing Capabilitychoice
URL Templatetext
Output fields[3]
FieldType
@odata typetext
IDtext
Nametext
Owning app IDtext
Billing classificationtext
Billing statustext
Created date timedate
Expiration date timedate
Etagtext
Settingsobject
URL templateurl
Is discoverability enabledboolean
Is search enabledboolean
Is item versioning enabledboolean
Item major version limitnumber
Max storage per container in bytesnumber
Is sharing restrictedboolean
Consuming tenant overridablestext
Agentobject

Create a Folder

ActionNew folder at the drive root.
Input fields[3]
FieldType
Folder NameRequired
text
Folderobject
Conflict Behaviorchoice
Output fields[3]
FieldType
Created date timedate
Descriptiontext
IDtext
Last modified date timedate
Nametext
Web URLurl
Drive typetext
Created byobject
Userobject
Last modified byobject
Userobject
Ownerobject
Userobject
Quotaobject
Deletednumber
Remainingnumber
Statetext
Totalnumber
Usednumber

Delete a Bundle

ActionRemoves one bundle from your drive.
Input fields[3]
FieldType
Bundle IDRequired
choice

Delete a Bundle Item

ActionDetaches one OneDrive file reference of a bundle.
Input fields[3]
FieldType
Bundle IDRequired
choice
Item IDRequired
choice

Delete a Drive Item

ActionClears a drive entry by its ID.
Input fields[3]
FieldType
Item IDRequired
choice

Delete a File Container Storage

ActionRemoves a container from the tenant.
Input fields[3]
FieldType
Container Type IDRequired
choice

Delete a File Container Storage Type

ActionRemoves one container type definition of the tenant by ID.
Input fields[3]
FieldType
File Storage Container Type IDRequired
choice

Follow a Drive Item

ActionStarts following an item in your drive.
Input fields[3]
FieldType
Item IDRequired
choice
Output fields[3]
FieldType
IDtext
Nametext
Sizenumber
Last modified date timedate

Make an API Call

universalYour own Microsoft Files REST API request.
Input fields[3]
FieldType
URLRequired
text
MethodRequired
choice
Headersarray
Headerobject
Query Stringarray
Parameterobject
Bodytext
Output fields[3]
FieldType
Bodytext
Headersobject
Status codenumber

Move a Drive Item

ActionDrive item moved, with an optional new name.
Input fields[3]
FieldType
Item IDRequired
choice
Parent ReferenceRequired
object
Parent Folder IDRequired
choice
Item NameRequired
text
Output fields[3]
FieldType
IDtext
Nametext
Parent referenceobject
Drive IDtext
Pathtext
IDtext

Remove a Deleted File Container Storage

ActionClears an entry from the deleted list.
Input fields[3]
FieldType
Container Type IDRequired
choice

Restore a Deleted File Container Storage

ActionReinstates a previously deleted container.
Input fields[3]
FieldType
Container Type IDRequired
choice
Output fields[3]
FieldType
@odata typetext
IDtext
Display nametext
Container type IDtext
Created date timedate

Update a Bundle

ActionRenames a bundle or sets its items.
Input fields[3]
FieldType
Bundle IDRequired
choice
Nametext
Conflict Behaviorchoice
Bundleobject
Childrenarray
Output fields[3]
FieldType
IDtext
Nametext
Bundleobject
Child countnumber

Update a File

ActionOverwrites a file in your drive.
Input fields[3]
FieldType
Item IDRequired
choice
ContentRequired
text
Output fields[3]
FieldType
IDtext
Nametext
Sizenumber
Fileobject

Update a File Container Storage

ActionRenames or redescribes a storage container.
Input fields[3]
FieldType
Container Type IDRequired
choice
Display Nametext
Descriptiontext
Settingsobject
Is OCR Enabledboolean
Item Major Version Limitnumber
Is Item Versioning Enabledboolean
Output fields[3]
FieldType
@odata typetext
IDtext
Display nametext
Descriptiontext
Container type IDtext
Statustext
Created date timedate
Settingsobject
Is ocr enabledboolean
Item major version limitnumber
Is item versioning enabledboolean

Update a File Container Storage Type

ActionAlters the details of a container type.
Input fields[3]
FieldType
File Storage Container Type IDRequired
choice
Nametext
Owning App IDchoice
Billing Classificationchoice
Settingsobject
Consuming Tenant Overridablestext
Is Discoverability Enabledboolean
Is Item Versioning Enabledboolean
Is Search Enabledboolean
Is Sharing Restrictedboolean
Item Major Version Limitnumber
Max Storage Per Container In Bytesnumber
Sharing Capabilitychoice
URL Templatetext
Output fields[3]
FieldType
@odata typetext
IDtext
Nametext
Owning app IDtext
Billing classificationtext
Billing statustext
Created date timedate
Expiration date timedate
Etagtext
Settingsobject
URL templateurl
Is discoverability enabledboolean
Is search enabledboolean
Is item versioning enabledboolean
Item major version limitnumber
Max storage per container in bytesnumber
Is sharing restrictedboolean
Consuming tenant overridablestext
Agentobject

Upload a File

ActionPuts a new file at a drive path.
Input fields[3]
FieldType
File PathRequired
text
ContentRequired
text
Output fields[3]
FieldType
IDtext
Nametext
Sizenumber
Fileobject

Look for Microsoft Files templates in the WEXTL template library.

Browse templates →
  1. WEXTL® Microsoft Files Source Code connector implementation.
  2. Our users use cases and automations.
  3. Official API Documentation for Microsoft Files.
  4. WEXTL® visual workflow builder data.

Last updated: Nov 13, 2026 10:56

How we write our apps documentation

How we compile these docs: sources, the role of AI, and how we verify.