---
title: Microsoft OneDrive
description: ''
slug: /help/docs/platform-services/automation-service/app-central/integrations/microsoft-onedrive/
canonical: https://www.sumologic.com/help/docs/platform-services/automation-service/app-central/integrations/microsoft-onedrive/
---
import useBaseUrl from '@docusaurus/useBaseUrl';
***Version: 1.10
Updated: March 31, 2026***
Utilize and manipulate files for incident investigation using OneDrive.
## Actions
* **List Files** (*Enrichment*) - List all available files in OneDrive.
* **List File Changes** (*Enrichment*) - List file changes in OneDrive.
* **Download File** (*Enrichment*) - Download a file from OneDrive.
* **Delete File** (*Containment*) - Delete a file from OneDrive.
* **Upload File** (*Containment*) - Upload a file to OneDrive.
## Configure Microsoft OneDrive in Automation Service and Cloud SOAR
import IntegrationsAuth from '../../../../reuse/integrations-authentication.md';
import IntegrationCertificate from '../../../../reuse/automation-service/integration-certificate.md';
import IntegrationEngine from '../../../../reuse/automation-service/integration-engine.md';
import IntegrationLabel from '../../../../reuse/automation-service/integration-label.md';
import IntegrationProxy from '../../../../reuse/automation-service/integration-proxy.md';
import IntegrationTimeout from '../../../../reuse/automation-service/integration-timeout.md';
import CloudSOARAPIURL from '../../../../reuse/automation-service/cloud-soar-api-url.md';
import AccessID from '../../../../reuse/automation-service/access-id.md';
import AccessKey from '../../../../reuse/automation-service/access-key.md';
*
* **API URL**. Enter your OneDrive API URL, for example, `https://graph.microsoft.com/v1.0`
* **Directory (Tenant) ID**. Enter the [tenant ID](https://learn.microsoft.com/en-us/azure/healthcare-apis/register-application#application-id-client-id) of the AAD directory in which you created the application. (You can check from your [app registration page](https://learn.microsoft.com/en-us/graph/auth-register-app-v2)).
* **Authentication Grant Type**. Choose one of the following according to the permissions you add to your app:
* **Password (Delegated Context)**
* **Client Credentials (Application Context)**
* **Application (Client) ID**. Enter your application ID. (You can check from your [app registration page](https://learn.microsoft.com/en-us/graph/auth-register-app-v2)). This is required for both authentication grant types.
* **Client Secret**. Enter your client secret. This is required for both authentication grant types.
* **Username**. Enter the username of an admin user authorized to authenticate the integration. This is required only if you set the authentication grant type as **Password (Delegated Context)**. Leave this field empty if you set the authentication grant type as **Client Credentials (Application Context)**.
* **Password**. Enter the password for the admin user. This is required only if you set the authentication grant type as **Password (Delegated Context)**. Leave this field empty if you set the authentication grant type as **Client Credentials (Application Context)**.
*
*
*
*
*
*
*
For information about Microsoft OneDrive, see [OneDrive documentation](https://learn.microsoft.com/en-us/onedrive/developer/rest-api/getting-started/authentication?view=odsp-graph-online).
## Change Log
* August 5, 2019 - First upload
* March 10, 2022 - Logo
* August 17, 2023 (v1.2) - Updated the integration with Environmental Variables
* September 4, 2023 (v1.3) - Fixed a bug where if the timeout was not specified, an error would occur
* September 19, 2023 (v1.4) - Versioning
* July 02, 2024 (v1.5)
- Updated ***Upload File*** action with the new Cloud SOAR API; results can now be saved as incident attachments and artifacts.
- Added a new field to the Integration resource named ***Authentication Grant Type***. You can select a value based on the permissions added to your app:
- Password (Delegated Context)
- Client Credentials (Application Context)
* April 25, 2025 (v1.6) - Changed required=False for username and password parsers in Integration file.
* August 14, 2025 (v1.7) - Changed required=False for username and password parsers in all the actions.
* October 10, 2025 (v1.8)
- Added support for listing files from site document library using hostname and site name parameters.
- Added support for listing files from specific user accounts via user principal name parameter
* November 28, 2025 (v1.9)
- Added support for downloading file from site document library using hostname and site name parameters.
- Added support for downloading file from specific user accounts via user principal name parameter.
* March 31, 2026 (v1.10) - Upgraded the `python3_generic` Docker image (Python 3.8) to `python3_12_generic` (Python 3.12) to address Python 3.8 end-of-life and improve security and performance.