Sharedpoint activity using clientID and clientSecret

I want to access SharePoint using the client secret and client ID. However, I am unsure how to do this now since UiPath Studio has removed Windows-Legacy compatibility. In my old Windows-Legacy project, I used UiPathTeam.SharePoint.Activities, which allowed me to access SharePoint using the client secret and client ID.

Can anyone guide me on how to access SharePoint in the new version of UiPath Studio using the client secret and client ID? Please see image below the old sharepoint activity that I used. Thanks.

@Int_Database

Now you can use microsoft 365 activities…which are the official UiPath packages now…these support multiple auth including client id and secret

Cheers

To access SharePoint using the client secret and client ID in the new version of UiPath Studio, follow these steps:

  1. Open UiPath Studio and create a new project.
  2. Click on the “Manage Packages” option in the top navigation bar.
  3. Search for and install the “UiPath.MicrosoftOffice365.Activities” package.
  4. Once installed, go to the “Activities” panel and search for “Office365”.
  5. Drag and drop the “Office365 Scope” activity into your workflow.
  6. In the “Office365 Scope” activity, configure the properties:
  • For “Application ID”, enter your client ID.
  • For “Tenant ID”, enter your tenant ID.
  • For “Client Secret”, enter your client secret.
  1. Click on the “Services” tab within the “Office365 Scope” activity and select the services you want to use, such as “SharePoint”.
  2. Use the relevant activities under the “Office365” category to interact with SharePoint, such as “Get List Items” or “Upload File”.

Make sure to register your application in Azure AD and obtain the necessary permissions for accessing SharePoint. You can do this by:

  1. Going to the Azure portal and navigating to “Azure Active Directory”.
  2. Click on “App registrations” and then “+ New registration”.
  3. Enter a name for your application and configure the supported account types and redirect URI if applicable.
  4. After registering, note down the Application (client) ID and Directory (tenant) ID.
  5. Go to “Certificates & secrets” and create a new client secret. Note down the value of the client secret.

This process will allow you to access SharePoint using the client secret and client ID in the new version of UiPath Studio

Hi all, facing similar issue. I have multiple processes which were developed under sharepoint applicaiton scope. Is there any easy way for migrating that to Microsoft 365 scope and also I can see that there are no replacements for few sharepoint activities. How to handle that.