---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/integrate-applications

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Microsoft OneDrive Spoke

# Microsoft OneDrive Spoke {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 8 minutes to read  
Automate file and folder management and collaboration in Microsoft OneDrive. Adds Microsoft OneDrive data to your ServiceNow instance.

## Request apps on the Store {#onedrive-spoke__section_sfg_z2f_mjb}

Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the [ServiceNow Store version history release notes](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html).{#onedrive-spoke__inline-send-to-store}

## Integration Hub subscription {#onedrive-spoke__section_rsf_yvb_l3b}

This spoke requires an Integration Hub subscription. For more information, see [Legal schedules - IntegrationHub overview](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf).

## Spoke version {#onedrive-spoke__section_msb_wpw_bsb}

Microsoft OneDrive spoke v2.9.1 is the latest version. For version history of the spoke, see [Microsoft OneDrive spoke release notes](https://www.servicenow.com/docs/r/store-release-notes/store-integrationhub-rn-onedrive-spoke.html).{#onedrive-spoke__ms-onedrive-ver}

## Spoke dependencies {#onedrive-spoke__section_h4k_ml1_3lb}

If you're having trouble installing the app, ensure that these
dependent plugins are installed:

* ServiceNow IntegrationHub Action Step - REST (com.glide.hub.action_step.rest)
* ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)

{#onedrive-spoke__ul_xpv_nfj_flb}  
Note:  
Some of these plugins are licensable features and require an appropriate license if used outside the spoke implementation. For information on licenses, contact your account manager.

## Supported versions {#onedrive-spoke__section_ccw_l34_zgb}

API version v1.

## Spoke flows {#onedrive-spoke__section_ygz_xbw_fpb}

The Microsoft OneDrive spoke gives sample flows in the draft state to demonstrate automating Microsoft OneDrive tasks. To customize a sample flow, copy it to a new application scope. Available sample
flows include:
{#onedrive-spoke__table_p5s_nwl_fpb__entry__2}

| Flow | Description |
|-|-|
| Renew Subscriptions | Renews the expired subscriptions by updating the expiration date of the subscription. |
[ ]

{#onedrive-spoke__table_p5s_nwl_fpb}

## Spoke subflows {#onedrive-spoke__section_blx_wft_kfb}

The Microsoft OneDrive spoke provides sample subflows in the draft state to demonstrate automating Microsoft OneDrive tasks. To customize a sample subflow, copy it to a new application scope. Available
sample subflows include:  
{#onedrive-spoke__table_h1n_zft_kfb__entry__2}

| Subflow | Description |
|-|-|
| Download New OneDrive File to ServiceNow | Downloads the new files uploaded in a resource to a ServiceNow record |
| Subscribe to Webhook | Subscribes a listener application to receive notifications when data changes. |
| Sync Changes | Tracks changes to a drive and its children over time. |
| Get Document Latest URL | Gets the latest path of a file in OneDrive using the Sys ID of the document as an input. To use this subflow, a corresponding OneDrive connection and credential must be created, and a OneDrive authorization token should be available. |
| Reconnect Document from Microsoft OneDrive | Gets the latest web URL and webdav URL of a document from the Microsoft OneDrive by using the Document Sys ID, Provider Detail Sys ID, Target Table Name, Target Table Sys ID, and the Document Name. To use this subflow, a corresponding OneDrive connection and credential must be created, and a OneDrive authorization token must be available. |
[ ]

{#onedrive-spoke__table_h1n_zft_kfb}

## Spoke actions {#onedrive-spoke__section_hrs_1gt_kfb}

The Microsoft OneDrive spoke provides actions to automate Microsoft OneDrive tasks when events occur in ServiceNow. Available actions
include:  
{#onedrive-spoke__table_gsq_2gt_kfb__entry__3}

| Category | Action | Description |
|-|-|-|
| Drive Management | Look up Drive Info | Gets the metadata of a specific Microsoft OneDrive drive |
| Folder Management | Move File Or Folder Item | Moves a file or folder in Microsoft OneDrive to the target location. |
| Folder Management | Create Folder | Creates a folder in Microsoft OneDrive. |
| Folder Management | Update File Or Folder Name | Updates the name for a file or folder item by ID. |
| Folder Management | Delete File Or Folder Item | Deletes a file or folder from Microsoft OneDrive. |
| File Management | Check In File | Checks in a drive item and sends a sharing invitation. When you check in a file, other users can access the checked-in file. |
| File Management | Check Out File | Checks out a drive item from OneDrive. When you check out a drive item, other users cannot edit the document. Other users also cannot see the changes that you made in the document until you check in the document. |
| File Management | Copy OneDrive File to Attachment | Copies a file in Microsoft OneDrive to an attachment in a record in a ServiceNow record. |
| File Management | Copy Attachment to OneDrive | Copies an attachment record in ServiceNow to Microsoft OneDrive |
| File Management | Copy File Or Folder Item | Asynchronously creates a copy of a Microsoft OneDrive item (including children), under a new parent item or with a new name. |
| File Management | Look up Items | Retrieves a list of drive items from a path or the source and source ID of a drive item. |
| File Management | Look up File Or Folder Item Info By ID | Gets file metadata information from the file or folder ID in Microsoft OneDrive. |
| File Management | Look up File Or Folder Item Info By Path | Gets file metadata information from the file path in Microsoft OneDrive. |
| File Management | Copy Attachment To OneDrive Using Path | Copies an attachment record in ServiceNow to OneDrive. |
| File Management | Copy OneDrive File To Attachment Using File Path | Copies a file using its path in OneDrive to an attachment in a record in ServiceNow. |
| File Management | Copy OneDrive File Version To Attachment | Copies a file in OneDrive to an attachment in a record in ServiceNow. |
| File Management | Delete Version of a File | Deletes the specified version of a file from OneDrive. |
| File Management | Look up All Versions of a File | Retrieves all the versions a file in OneDrive. |
| File Management | Restore File Version | Restores the specified file version and make this version the latest. |
| File Management | Upload and Replace File | Uploads the updated version of an existing file or replaces the existing file with a new file. Note: The maximum size of the file cannot exceed 4 MB. |
| Search Documents | Search Files or Folder Items | Searches the drive items (files or folders) based on metadata attributes such as the item name. |
| Document Sharing | Add Collaborator | Adds a collaborator and their permissions to a file or a folder. You can identify the collaborator by their Azure AD Alias or an Object ID. |
| Document Sharing | Look up Collaborators | Lists all the collaborator details associated with a file or folder in Microsoft OneDrive. |
| Document Sharing | Remove Collaborator | Removes a collaborator from a file or folder in Microsoft OneDrive. |
| Permission Management | Add Permission | Sends a sharing invitation for a drive item. A sharing invitation allows the recipients to access the drive item and optionally sends them an email with a sharing link. |
| Permission Management | Create Sharing Link | Creates a sharing link which allows you to share a drive item with other users. |
| Permission Management | Delete Permission | Removes access to a drive item. |
| Permission Management | Look up Permissions | Retrieves the sharing permissions of a drive item. |
| Permission Management | Update Permission | Updates the expiration date of the subscription. |
| Webhook Management | Subscribe Webhook | Creates a subscription that sends notifications when data changes. |
| Webhook Management | Unsubscribe Webhook | Deletes the specified subscription ID. |
| Webhook Management | Get SyncToken for Subscription | Retrieves the latest sync token for the specified subscription ID. |
| Webhook Management | Look up Subscriptions | Retrieves the list of active subscriptions. |
| Webhook Management | Renew Subscription | Updates the expiration date of the subscription. |
| Webhook Management | Sync Changes | Tracks changes to a drive and drive's children over time. |
[ ]

{#onedrive-spoke__table_gsq_2gt_kfb}

## Available AI agents {#onedrive-spoke__section_nbr_hdx_m2c}

Install Now Assist for Integration Hub and start using the available AI agents. For more information, see [ServiceNow Otto for Integration Hub](https://www.servicenow.com/docs/Y_ulHyk23rZDpUMHAIeScg "Use the ServiceNow Otto AI agents to mimic human-like intelligence by using Large Language Models (LLMs) to perform tasks that range from simple automated responses to complex problem-solving. Utilize the conversational ability of Integration Hub spoke actions.").  
This spoke provides standalone AI agents that mimic human-like intelligence to perform tasks in your ServiceNow instance.

* In the ServiceNow agentic system, you can create an agentic workflow that comprises of a set of large language model (LLM) instructions along with one or more standalone AI agents to execute an objective. See [Create an agentic workflow](https://www.servicenow.com/docs/access?context=configure-use-case-ai-agents&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US) for information about adding AI agents to create agentic workflows as per your requirement and provide the required trigger.

  You can also search for other
  available AI agents and add them to your agentic workflow. See [Find AI agents](https://www.servicenow.com/docs/access?context=find-ai-agents&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US) for more information.
* You can create a clone of the required spoke AI agent and customize it as per your requirement. See [Duplicate an AI agent](https://www.servicenow.com/docs/access?context=clone-ai-agent&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US) for more information about creating a clone.
* See [AI Agent Studio (legacy)](https://www.servicenow.com/docs/access?context=na-ai-agents&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US) for information about AI agents.
{#onedrive-spoke__ul_tjz_vtr_m2c}  
Available AI agents include:{#onedrive-spoke__table_pzh_kdx_m2c__entry__2}

| AI Agent | Description |
|-|-|
| Microsoft OneDrive sharing management AI agent | Adds or removes a collaborator and manages their permissions for a file or folder in Microsoft OneDrive. Also, lists all the collaborator details associated with a file or folder. |
| Microsoft OneDrive drive management AI agent | Retrieves the metadata of a specific drive in Microsoft OneDrive. |
| Microsoft OneDrive file management AI agent | Manages files, file versions, and attachments in Microsoft OneDrive. Also, retrieves details of the required file. |
| Microsoft OneDrive folder management AI agent | Manages folders in Microsoft OneDrive. |
| Microsoft OneDrive permission management AI agent | Creates sharing link for a drive item and manages permissions. |
[ ]

{#onedrive-spoke__table_pzh_kdx_m2c}

There might be AI agents installed on your instance that are not used in agentic workflows. To learn how to see all agents that are available to you, see [Find AI agents](https://www.servicenow.com/docs/access?context=find-ai-agents&version=australia&pubname=australia-intelligent-experiences&ft:locale=en-US).  
Note:  
Ensure that the user running an AI agent has the required roles and permissions to access data or perform operations on data in the table that is associated with the AI agent.

## Spoke module {#onedrive-spoke__section_eqv_y2v_fpb}

Bi-directional webhooks can be set up to get notifications about the required events.
Routing policy defines conditions that must be met to notify the ServiceNow app. These
conditions are based on the events in OneDrive that you want to be notified about. When the
conditions are met, a routing policy triggers the associated subflow, which in turn
automates the OneDrive tasks.

The bi-directional webhooks require separate setup and can be used independently without using the spoke actions. By default, the OneDrive Webhooks application is available in the OneDrive spoke and has the following
modules:
{#onedrive-spoke__table_xrb_bfv_fpb__entry__2}

| Module | Description |
|-|-|
| OneDrive SyncToken | Enables you to view SyncTokens of OneDrive. |
| OneDrive Webhook Registries | Enables you to create and view the OneDrive webhooks in ServiceNow. |
| OneDrive Webhook Routing Policy | Enables you to create and view the routing policies for the OneDrive webhooks in ServiceNow. You can also customize the conditions in the routing policies as per your requirement. |
[ ]

{#onedrive-spoke__table_xrb_bfv_fpb}

## OneDrive Online account requirements {#onedrive-spoke__section_rvj_b3t_kfb}

The Microsoft OneDrive spoke requires a custom app that you create in Microsoft Azure.

## Connection and credential alias requirements {#onedrive-spoke__section_akr_h3t_kfb}

Integration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information
profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.  

Single tenant
:   The OneDrive spoke includes the OneDrive alias record to authorize actions on Microsoft OneDrive. Select this alias in the Tenant record to authorize changes in Microsoft OneDrive for a single tenant.

For information about setting up the spoke, see
[Set up Microsoft OneDrive spoke](https://www.servicenow.com/docs/TiWP7jqOGioyIDWto394tg#setup-msonedrive "Integrate the ServiceNow instance and Microsoft OneDrive spoke by using OAuth 2.0 credentials to authenticate ServiceNow requests.").

## MID Server requirements {#onedrive-spoke__section_gyl_bwj_vdb}

These actions use REST calls that can run either on an instance or, optionally, through a MID Server. Use the connection record associated with the Microsoft OneDrive alias to configure where actions run and, if needed, specify MID Server selection attributes. For more information, see [MID server](https://www.servicenow.com/docs/access?context=mid-server-landing&version=australia&pubname=australia-servicenow-platform&ft:locale=en-US).

To set up the MID Server for this spoke, see [Set up MID Server for a spoke](https://www.servicenow.com/docs/OEkPOX7xORDj2GD6UZwzjg "Configure MID Server settings on your ServiceNow instance that enables it to integrate with a third-party application via MID Server after you have set up the connection record for a spoke.").

