activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity Activities

Last updated Oct 21, 2025

How to use Microsoft 365 activities without Integration Service connections

About

You can now use the newer Microsoft 365 activities even if you don't have Integration Service, through Microsoft 365 Scope.

The Microsoft 365 activities designed specifically for Integration Service feature a Connection field, which enables you to choose a connection created through an Integration Service connector. When used inside Microsoft 365 Scope, the activities simply inherit the connection information from the Scope.

Authentication and projects types matrix

Microsoft 365    
 CloudOn-Prem
 Microsoft Office 365 Application ScopeIntegration ServiceMicrosoft Office 365 Application ScopeIntegration Service
Cross-platform    
Interactive token - OAuth - UiPath public appnot availableavailablenot availablenot available
Interactive token - OAuth - BYOAnot availableavailablenot availablenot available
Integrated Windows Authenticationnot availablenot availablenot availablenot available
Username and Passwordnot availablenot availablenot availablenot available
Application ID and Secretnot availablenot availablenot availablenot available
Application ID and Certificatenot availablenot availablenot availablenot available
Windows    
Interactive token - OAuth - UiPath public appavailableavailableavailablenot available
Interactive token - OAuth - BYOAavailableavailableavailablenot available
Integrated Windows Authenticationavailablenot availableavailablenot available
Username and Passwordavailablenot availableavailablenot available
Application ID and Secretavailableavailableavailablenot available
Application ID and Certificateavailablenot availableavailablenot available

Connection methods

There are two ways to set up a connection in the Microsoft 365 Scope activity.

Connection method DescriptionBenefitsDisadvantages
Asset
Note: Recommended.
 

Uses an Orchestrator Asset to store the connection together with the Scope configuration.

The asset is a JSON format.

Every time it's used, the activity retrieves the configuration from the asset.

Based on asset configuration, the Scope behaves differently; it identifies the authentication type and hides unnecessary fields.

If the asset JSON isn't set properly, it prompts a validation error.

The activities benefit from design time lookups and can discover files, folders, lists, ranges, and others.

The connection is easily transferable, as credentials aren't passed from one user to another in plain text.

Can be configured by an Admin.

It's more secure, because the credentials don’t reach the Studio workflow.

Requires an advanced user to configure the Asset.

Not easy to set up by a Citizen Developer.

Properties Panel 

Use the existing Properties panel to configure the connection credentials.

The configuration can be added in plain text or through variables.

Easier to use.

Keeps backward compatibility.

 
 Configuration through plain text
Note: Not recommended.
Configure the Properties panel with plain text values.The activities benefit from design time lookups and can discover files, folders, lists, ranges, and others. Less secure, because the credentials need to be passed between users in plain text.
 Configuration through variables

Configure the properties panel with variables.

More secure, because the credentials don’t reach the Studio workflow.

The activities can't discover any resources at design time.

Microsoft 365 Scope asset format

Note: The uap used in the following sections stands for username and password.
Standard asset format
The following is the accepted JSON format that you can use in text assets, in design time or runtime, or both, and credential assets you can use in runtime for specifying Microsoft 365 details.
{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "",
    "Environment": "Default",
    "Mode": "interactive",
    "OAuth2AppData": {
        "ApplicationId": "",
        "TenantId": ""
    }
}{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "",
    "Environment": "Default",
    "Mode": "interactive",
    "OAuth2AppData": {
        "ApplicationId": "",
        "TenantId": ""
    }
}
Note: When using the OAuth2AppData, ApplicationId, and TenantId parameters, make sure to populate this based on your chosen authentication mode. You can find examples in the sections that follow.
The complete list of options you can choose from for the Environment and Mode parameters is:
  • "Environment": "Default" | "Global" | "China" | "Germany" | "USGovernment" | "USGovernmentDOD",
  • "Mode": "interactive" | "integrated" | "uap" | "appidsecret" | "appidcertificate",

Multi-tenant UiPath application (OAuth - UiPath public app) asset configuration

Note: The Application ID in the example is the valid UiPath App ID you can use for connections.
{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "",
    "Environment": "Default",
    "Mode": "interactive",
    "OAuth2AppData": {
        "ApplicationId": "f2f43f65-16a6-4319-91b6-d2a342a88744",
        "TenantId": ""
    }
}{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "",
    "Environment": "Default",
    "Mode": "interactive",
    "OAuth2AppData": {
        "ApplicationId": "f2f43f65-16a6-4319-91b6-d2a342a88744",
        "TenantId": ""
    }
}

When a tenant ID is required, check the Interactive Token details section.

Single tenant UiPath application (OAuth - UiPath public app) asset configuration
{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "",
    "Environment": "Default",
    "Mode": "interactive",
    "OAuth2AppData": {
        "ApplicationId": "f2f43f65-16a6-4319-91b6-d2a342a88744",
        "TenantId": "your unique Microsoft 365 tenant ID"
    }
}{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "",
    "Environment": "Default",
    "Mode": "interactive",
    "OAuth2AppData": {
        "ApplicationId": "f2f43f65-16a6-4319-91b6-d2a342a88744",
        "TenantId": "your unique Microsoft 365 tenant ID"
    }
}
Single tenant custom application (OAuth - BYOA) asset configuration
{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "",
    "Environment": "Default",
    "Mode": "interactive",
    "OAuth2AppData": {
        "ApplicationId": "your unique Microsoft tenant ID",
        "TenantId": "your unique Microsoft 365 tenant ID"
    }
}{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "",
    "Environment": "Default",
    "Mode": "interactive",
    "OAuth2AppData": {
        "ApplicationId": "your unique Microsoft tenant ID",
        "TenantId": "your unique Microsoft 365 tenant ID"
    }
}

Application ID and secret custom application (OAuth - BYOA) asset configuration

{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "your unique Microsoft 365 application secret",
    "Environment": "Default",
    "Mode": "appidsecret",
    "OAuth2AppData": {
        "ApplicationId": "your unique Microsoft tenant ID",
        "TenantId": "your unique Microsoft 365 tenant ID"
    }
}{
    "CertificateAsBase64": "",
    "CertificatePassword": "",
    "ClientSecret": "your unique Microsoft 365 application secret",
    "Environment": "Default",
    "Mode": "appidsecret",
    "OAuth2AppData": {
        "ApplicationId": "your unique Microsoft tenant ID",
        "TenantId": "your unique Microsoft 365 tenant ID"
    }
}

Limitations

The following features are not available when using activities inside Microsoft 365 Scope: triggers, bindings, and override experience.

Token refresh

There is no service available to refresh your connection tokens, like the one available in Integration Service.

If the Authorization Token isn't refreshed for a certain number of days, it expires, and you must re-authenticate. To avoid the expiration of authorization tokens, run a robot with that specific connection. Running an automation with the Scope activity refreshes the authorization token.



Additional OAuth 2.0 resources:

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.