Hi Experts
I’ve built a library that uses the UiPath.MicrosoftOffice365 activities, including the Office365ApplicationScope. During a recent update, I noticed that the Microsoft 365 Application Scope has been moved to the Classic category. According to UiPath’s documentation, the Classic Microsoft 365 activities are now in maintenance mode, and no new features will be added. The recommended path is to switch to the Integration Service connection‑based activities:
Activities - Classic activities
I’m trying to understand how to migrate to the new Integration Service connection model.
I have already created a Microsoft OneDrive & SharePoint connection in Integration Service using OAuth 2.0 Client Credentials, reusing the same Client ID and Client Secret I previously used with the Application Scope. However, the connection setup also requires selecting a user account for impersonation.
My questions are:
- Does the selected user account always act as the impersonated identity for all actions performed by the connection? (Based on what I understand, yes—but I want to confirm.)
- I have multiple service accounts used to run automations. Should each user have its own separate Integration Service connection?
- If multiple users can run the same process, how do I dynamically choose which connection to use at runtime?
- Is it possible to reference the connection as a variable, or is a connection “hardcoded” into the workflow?
