- Getting started
- Notifications
- Licensing
- Troubleshooting
- Connector Builder
- Act! 365
- ActiveCampaign
- Active Directory - Preview
- 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
- Coupa
- Customer.io
- Datadog
- DeepSeek
- Deputy
- Discord - Preview
- DocuSign
- Drip
- Dropbox
- Dropbox Business
- Egnyte
- Eventbrite
- Exchangerates
- Exchange Server - Preview
- Expensify
- Facebook
- Freshbooks
- Freshdesk
- Freshsales
- Freshservice
- GetResponse
- GitHub
- Gmail
- Google Cloud Platform
- Google Docs
- Google Drive
- Google Forms - Preview
- Google Maps
- Google Sheets
- Google Speech-to-Text
- Google Text-to-Speech
- Google Tasks - Preview
- 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
- Mail
- Mailchimp
- Mailgun
- Mailjet
- MailerLite
- 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
- PagerDuty
- 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 Data Service - Preview
- UiPath GenAI Activities
- X (formerly Twitter)
- Xero
- watsonx.ai
- WhatsApp Business
- WooCommerce
- Workable
- Workday
- Workday REST
- VMware ESXi vSphere
- YouTube
- Zendesk
- Zoho Campaigns
- Zoho Desk
- Zoho Mail
- Zoom
- ZoomInfo

Integration Service user guide
Microsoft OneDrive and SharePoint authentication
In Integration Service, when you create a connection to one of our Microsoft Graph-based connectors, you can choose between the following authentication options:
- OAuth 2.0 Authorization code – connects to the UiPath public application.
- OAuth 2.0 Client credentials - uses a service account.
- Bring your own OAuth 2.0 app – connects to a private application you create.
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, chek Overview of admin consent workflow and User and admin consent in Microsoft Entra ID in the Microsoft documentation.
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
or User.Read
.
-
Select Integration Service from Automation CloudTM.
- From the Connectors list, select Microsoft OneDrive and SharePoint. You can also use the search bar to narrow down the connector.
- Select the Connect to Microsoft OneDrive and SharePoint button.
- You are now redirected to the connection page.
- Select the OAuth 2.0 Authorization code authentication type.
- Add the required permissions in the Scope field.
- Select an environment from the drop-down list: Office 365 (default), US Government L4 - Public Sector domain, US Government L5 - Public Sector domain, or China.
Note: For more details on environments, check Microsoft Graph and Graph Explorer service root endpoints.
- Select Connect and authenticate with your Microsoft email address and password.
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.
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.
-
Select Integration Service from Automation CloudTM.
- From the Connectors list, select Microsoft OneDrive and SharePoint. You can also use the search bar to narrow down the connector.
- Select the Connect to Microsoft OneDrive and SharePoint button.
- You are now redirected to the connection page.
- Select the OAuth 2.0 Client credentials authentication type.
- Fill in and configure the following fields: Client ID, Client Secret, Tenant ID, Environment, and Account (provide the account used to impersonate a user).
- Select Connect.
To learn how to create an application, check the official Microsoft documentation: Register an application with the Microsoft identity platform.
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://cloud.uipath.com/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.
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.
- Minimal scopes for creating a connection:
openid
,offline_access
,User.Read.All
orUser.Read
,Files.Read
. - Minimal list of scopes required for OneDrive triggers:
openid
,offline_access
,User.Read.All
orUser.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.
-
Select Integration Service from Automation CloudTM.
- From the Connectors list, select Microsoft OneDrive and SharePoint. You can also use the search bar to narrow down the connector.
- Select the Connect to Microsoft OneDrive and SharePoint button.
- You are now redirected to the connection page.
- Select the Bring your own OAuth 2.0 app authentication type.
- Fill in and configure the following fields: Client ID, Client Secret, Scope, Tenant ID, and Environment.
Note:
- For Scope, add the permissions 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.
- Select Connect.
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.
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
- OAuth 2.0 Authorization code
- Scopes
- Adding the Microsoft OneDrive and SharePoint connection
- Refresh tokens for OAuth applications
- 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