- Getting started
- Notifications
- Flex licensing
- Troubleshooting
- Connector Builder
- Act! 365
- Active Directory - Preview
- ActiveCampaign
- Adobe Acrobat Sign
- Adobe PDF Services
- Amazon Bedrock
- Amazon Connect
- Amazon Polly
- Amazon SES
- Amazon Transcribe
- Amazon Web Services
- Anthropic Claude
- Asana
- AWeber
- Azure AI Document Intelligence
- Azure Maps
- BambooHR
- Box
- Brevo
- Calendly
- Campaign Monitor
- Cisco Webex Teams
- Citrix Hypervisor
- Citrix ShareFile
- Clearbit
- Confluence Cloud
- Constant Contact
- Customer.io
- Datadog
- DeepSeek
- Deputy
- DocuSign
- Drip
- Dropbox
- Egnyte
- Eventbrite
- Exchange Server - Preview
- Exchangerates
- Expensify
- Facebook
- Freshbooks
- Freshdesk
- Freshsales
- Freshservice
- GetResponse
- GitHub
- Gmail
- Google Cloud Platform
- Google Docs
- Google Drive
- Google Maps
- Google Sheets
- Google Speech-to-Text
- Google Text-to-Speech
- Google Vertex
- Google Vision
- Google Workspace
- GoToWebinar
- Greenhouse
- Hootsuite
- HTTP Webhook - Preview
- Hubspot CRM
- HubSpot Marketing
- HyperV - Preview
- Icertis
- iContact
- Insightly CRM
- Intercom
- Jina.ai
- Jira
- Keap
- Klaviyo
- LinkedIn
- Mailchimp
- MailerLite
- Mailgun
- Mailjet
- Marketo
- Microsoft 365
- Microsoft Azure
- Microsoft Azure Active Directory
- Microsoft Azure OpenAI
- Microsoft Dynamics 365 CRM
- Microsoft OneDrive & Sharepoint
- About the Microsoft OneDrive & SharePoint connector
- Microsoft OneDrive and SharePoint authentication
- Microsoft OneDrive & SharePoint events
- Microsoft Outlook 365
- Microsoft Sentiment
- Microsoft Teams
- Microsoft Translator
- Microsoft Vision
- Miro
- NetIQ eDirectory
- Okta
- OpenAI
- OpenAI V1 Compliant LLM
- Oracle Eloqua
- Oracle NetSuite
- PayPal
- PDFMonkey
- Perplexity
- Pinecone
- Pipedrive
- QuickBooksOnline
- Quip
- Salesforce
- Salesforce Marketing Cloud
- SAP BAPI
- SAP Cloud for Customer
- SAP Concur
- SAP OData
- SendGrid
- ServiceNow
- Shopify
- Slack
- SmartRecruiters
- Smartsheet
- Snowflake
- Stripe
- Sugar Enterprise
- Sugar Professional
- Sugar Sell
- Sugar Serve
- System Center - Preview
- TangoCard
- Todoist
- Trello
- Twilio
- UiPath GenAI Activities
- VMware ESXi vSphere
- watsonx.ai
- WhatsApp Business
- WooCommerce
- Workable
- Workday
- Workday REST
- X (formerly Twitter)
- YouTube
- Zendesk
- Zoho Campaigns
- Zoho Desk
- Zoho Mail
- ZoomInfo

Integration Service user guide
Microsoft OneDrive and SharePoint authentication
Overview
In Integration Service, when you create a connection to one of our Microsoft Graph-based connectors, you can choose between the following authentication options:
- Client Certificate Authentication – connects using a client certificate instead of a client secret.
- OAuth 2.0 Client credentials – uses a service account.
- Bring your own OAuth 2.0 app – connects to a private application you create.
Admin consent
This section applies only to the Bring your own OAuth 2.0 app authentication options.
Many organizations require the consent of an administrator before you create a connection to an external application. The admin consent workflow requires an admin to approve the app registration to specific users or groups before a connection is established. For more details, check Overview of admin consent workflow and User and admin consent in Microsoft Entra ID in the Microsoft documentation.
Integration Service impersonates the user who creates the connection. The credentials of the user offer access to all of the same resources that they have in the given application. If you share the connection, every change made to Microsoft SharePoint or OneDrive with that connection is made on behalf of that user.
Client Certificate Authentication
Scopes
The connector requires the following minimum scopes to create a connection: User.Read.All or User.Read, Files.Read.
The connector requires the following full set of scopes for all activities to function: offline_access, Files.Read, Files.Read.All, Files.ReadWrite, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, profile, openid, email, User.Read.All, and User.Read.
To add more granular permissions, refer to the activities documentation.
Adding the Microsoft OneDrive and SharePoint connection
To create a connection to your Microsoft OneDrive and SharePoint instance, perform the following steps:
- In Automation Cloud, select Integration Service from the rail.
- From the Connectors list, select Microsoft OneDrive and SharePoint, or use the search bar to find the connector.
- Select Connect to Microsoft OneDrive and SharePoint, which redirects you to the connection page.
- Select the Client Certificate Authentication authentication type.
- Configure the following fields:
- Client ID - The ID in the Overview section of your Microsoft Azure application registration.
- Password for the certificate - The password you set during the certificate creation.
- OAuth base64 client certificate - The client certificate is generated in a
.pfxfile format, which you must convert to Base64-encoded format and provide it in this field. - Tenant ID - The Microsoft Azure tenant ID for an app in the Overview section of your Microsoft Azure application registration.
- Environment - Optionally, select an environment from the dropdown list:
- Office 365 (default)
- US Government L4 - Public Sector domain
- US Government L5 - Public Sector domain
- ChinaSelect Office 365 (default) for all regions, and only switch to Government or China for cloud deployments. For more details on environments, check Microsoft Graph and Graph Explorer service root endpoints.
- Account - Enter the user principal name (UPN) of the account or shared mailbox that the system should use in the connection. This is required for the connection to be established.
- Select Connect.
- Authenticate with your Microsoft email address and password.
OAuth 2.0 Client credentials
Scopes
The connector requires the following minimum scopes to create a connection: Files.Read.
The connector requires the following full set of scopes for all activities to function: offline_access, Files.Read, Files.Read.All, Files.ReadWrite, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, profile, openid, email, User.Read.All, and User.Read.
To add more granular permissions, refer to the activities documentation.
Adding the Microsoft OneDrive and SharePoint connection
To create a connection to your Microsoft OneDrive and SharePoint instance, perform the following steps:
- In Automation Cloud, select Integration Service from the rail.
- From the Connectors list, select Microsoft OneDrive and SharePoint. You can also use the search bar to narrow down the connector.
- Select Connect to Microsoft OneDrive and SharePoint, which redirects you to the connection page.
- Enter the required credentials. You must provide a Client ID and Client Secret, the Tenant ID, and the Scopes you may need to interact with different activities. Check out the activities documentation to learn what scopes they require. If you are using a multi-tenant application, keep the default value for the Tenant ID (
common). If you are using a single-tenant application, retrieve the Tenant ID from Azure. Refer to How to find your Microsoft Entra tenant ID.
Bring your own OAuth 2.0 app
Overview
To learn how to create an application, check the official Microsoft documentation: Register an application with the Microsoft identity platform.
This is an advanced functionality and requires admin privileges in the target application. Work with your IT administrator to set up your application successfully.
Requirements
When you create your own application to use with Integration Service, make sure you meet the following requirements:
- Configure the application as a Multi-tenant or Single-tenant application.
- Configure a Web application.
- Configure a Web Redirect URI. The Redirect URI (or callback URL) for your OAuth 2.0 application is provided in the authentication screen when creating a connection: https://{yourDomain}/provisioning_/callback.
- You must set up delegated permissions. For more information, refer to Permissions in the Microsoft official documentation.
- Generate a client secret for your application.
Important:
The advantage of using your private OAuth application is that you can customize permissions depending on your actual needs. To learn which scopes are required for each activity in the Microsoft 365 package, refer to Working with scopes and check out the activities documentation. The connector uses Microsoft Graph API. Refer to the Microsoft Graph permissions reference page for details on all permissions.
After you create your application, use its Client ID and Client Secret to create a connection with the Microsoft connectors.
Scopes
- The connector requires the following minimum scopes to create a connection:
openid,offline_access,User.Read.AllorUser.Read,Files.Read. - OneDrive triggers require the following minimum scopes:
openid,offline_access,User.Read.AllorUser.Read,Sites.Read.All– for events on SharePoint sites.Group.Read.All– for events on groups and calendars.Files.Read.All– for all the remaining event types.
The connector requires the following full set of scopes for all activities to function: offline_access, Files.Read, Files.Read.All, Files.ReadWrite, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, profile, openid, email, User.Read.All, and User.Read.
To add more granular permissions, refer to the activities documentation.
Adding the Microsoft OneDrive and SharePoint connection
To create a connection to your Microsoft OneDrive and SharePoint instance, perform the following steps:
- In Automation Cloud, select Integration Service from the rail.
- From the Connectors list, select Microsoft OneDrive and SharePoint. You can also use the search bar to narrow down the connector.
- Select Connect to Microsoft OneDrive and SharePoint, which redirects you to the connection page.
- Enter the required credentials. You must provide a Client ID and Client Secret, the Tenant ID, and the Scopes you may need to interact with different activities. Check out the activities documentation to learn what scopes they require. If you are using a multi-tenant application, keep the default value for the Tenant ID (
common). If you are using a single-tenant application, retrieve the Tenant ID from Azure. Refer to How to find your Microsoft Entra tenant ID.
Refresh tokens for OAuth applications
Refresh tokens for OAuth applications can be invalidated or revoked at any time by Microsoft. This can happen for different reasons, such as timeouts and revocations. For details, see Microsoft's official documentation.
Token invalidation results in failed connections and automations are unable to run without fixing connections.
Make sure to follow best practices from Microsoft when creating your OAuth applications. For full details on how to create a Microsoft OAuth app, see the Microsoft documentation.
This issue affects not only the OneDrive & SharePoint connector, but all Microsoft Graph-based connectors, such as Outlook or Teams.
- Overview
- Admin consent
- Client Certificate Authentication
- Scopes
- Adding the Microsoft OneDrive and SharePoint connection
- OAuth 2.0 Client credentials
- Scopes
- Adding the Microsoft OneDrive and SharePoint connection
- Bring your own OAuth 2.0 app
- Overview
- Scopes
- Adding the Microsoft OneDrive and SharePoint connection
- Refresh tokens for OAuth applications