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

Productivity Activities

Last updated Oct 21, 2025

Interactive token

Overview

The interactive token authentication type includes the following characteristics:

  • Runs as a user.
  • Used in attended automation scenarios.
  • Uses delegated permissions.
Note: This is the same authentication method that Integration Service supports either through the UiPath Public App or the Bring your own app method.

Details

You can use the Interactive Token authentication type for attended automation, and when multi-factor authentication (MFA) is required. If you want to test the activity package, use this authentication method, as it is easy to configure and works well for personal accounts. The interactive token uses the default redirect URI mentioned in the Registering your application section.

You can either use the UiPath Public App (OAuthApplication = UiPath), which is the default one, or you can register and use your own Azure app (OAuthApplication = Custom):
  • UiPath Public App registration: The advantage of using the UiPath public app is that you do not need to configure or maintain the application.
    Note: UiPath does not store any user data. The authentication token is saved only on your machine or in your Orchestrator bucket. For more details, check UiPath Public App registration.
  • Bring your own app (BYOA): The advantage of using your own application is that you can manage, customize, and assign permissions within your organization more granularly. For more details, check Custom OAuth Application registration - Bring your own app (BYOA).
Note: For more details on how to set up the OAuth application, check OAuth application setup.

When you create an application, you must select an application type. For interactive token authentication, use a mobile or desktop application that uses the OAuth 2.0 authorization code flow with a Redirect URI of type public client or native (mobile and desktop).

When you run the Microsoft 365 activity for the first time with the interactive token authentication type, you are prompted to authorize access to the resources you granted permissions to when registering your app. For more details, check Get access on behalf of a user.

A single organization can have multiple application (client) IDs. Each application ID contains its own permissions and authentication requirements. For example, you and your colleague can both register a Microsoft 365 application in the Microsoft Entra ID of your company with different permissions. Your app can be configured to authorize permissions to interact with files only, while the app of your colleague can authorize permissions to interact with files, mail, and calendar.

Note:
  • If you select the interactive token authentication type in the Microsoft 365 Scope activity, leave the Username and Password fields empty.
  • If you are using a single-tenant app, configure the Tenant field.
  • If you are using a multi-tenant app, such as the UiPath public app, leave the Tenant field empty.

Scopes for Interactive token

Note: This section applies to both UiPath Public App and Bring your own app methods.

When you add an activity to Microsoft 365 Scope, Studio automatically detects the scopes it requires. You can also allow additional or fewer scopes. However, if fewer scopes are selected, some activity functionalities might not work.

For more details, check Working with activity scopes.



For more details, check the following resources:

Building your project in Studio Desktop

First, create a new automation project as follows:

  1. In UiPath Studio, select New Project.
  2. Select Process, which opens a New Blank Process window.
  3. Enter a project Name, Location, and Description.
  4. Select the Compatibility, where Windows is selected by default.
  5. Select Create.
  6. For more information about UiPath Studio packages, check Managing Packages.

After you create your project, install the UiPath.MicrosoftOffice365.Activities package as follows:

  1. Select Manage Packages from the Design ribbon.
  2. Enter Office 365 or Microsoft in the search bar, under All Packages.
  3. Select the package version you want, then select Install.
  4. Select Save.

You're done! Now that you have completed the setup, you can start adding the Microsoft 365 activities to your project.

Next steps

For a hands-on learning experience and to quickly start using the activities, check the Quickstart guides. These guides provide step-by-step instructions to help you create working samples of the different activities so that you can verify the connection to your registered app and get familiar with the input/output properties.

To learn more about the Microsoft 365 activities (including example property inputs/outputs), check the Classic activities for a complete list and links to the activity detailed pages.

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.