UiPath Marketplace

The UiPath Marketplace Guide

Welcome to UiPath Marketplace Documentation. You will find comprehensive information to help you better understand and use the automations from our platform.

In order to download the solutions described here, please visit the official UiPath Marketplace here.

Please note that only solutions built and supported by UiPath are detailed in the present guide.

Introduction

To successfully establish a connection and send requests to the Web API, the Microsoft Dynamics Application Scope activity must complete authentication using the OAuth 2.0 protocol.

To give the Microsoft Dynamics 365 Scope activity the ability to authenticate using OAuth 2.0 and to enable the other activities to successfully send requests to the Web API, you must complete the following steps:

  1. Register your application
  2. Create client secret
  3. Create Credential Asset
  4. Build your project

Note

The Microsoft Dynamics 365 activities have a dependency on the Common Data Service. Because of this dependency, the activities primarily support Customer Engagement solutions.

Currently, Microsoft Dynamics for Finance & Operations is not supported.

Steps

1. Register your application

Follow the Common Data Service specific instructions in the Microsoft documentation to create an application registration (these steps include assigning the appropriate API permissions).

For more information about app registration for the Common Data Service, see Use OAuth with Common Data Service in the Microsoft documentation.

When registering your application, take note of the Application (client) ID and Directory (tenant) ID values; you'll enter these in the Microsoft Dynamics Application Scope activity.

2. Create client secret

Note

This step is only applicable if you plan to use ClientCredentials as the AuthenticationType in the Microsoft Dynamics Application Scope activity. If you plan to use PasswordCredentials, you can proceed to Build your project.

Follow the instructions in the Microsoft documentation to configure your registered application to connect as an app (i.e. connect using a client secret). For more information about client secrets, see Use Client Secrets & Certificates in the Microsoft documentation.

For quick reference, the image below shows how we created our client secret for our example projects.

3. Create Application User

Log in to your Microsoft Dynamics 365 Customer Engagement account. Go to Settings > Security > Users > New User.

Change the view to Application User. Enter the Application ID from the previous step in the Application ID field.

Complete the other fields such as (Full Name) and (Primary Email) and then save the user.

4. Create Credential Asset

Note

This step is only applicable if you plan to use ClientCredentials as the AuthenticationType in the Microsoft Dynamics Application Scope activity. If you plan to use PasswordCredentials, you can proceed to Build your project.

The Microsoft Dynamics Application Scope activity requires a SecureString input for the ClientSecret property. To enter the SecureString variable, it's recommended that you follow the suggestions and steps in the Credential Management section of this guide.

5. Build your project

  1. Create a new automation project.
    1. Open UiPath Studio.
    2. Under New Project, click Process (this opens a New Blank Process window).
    3. Enter a project Name, Location, and Description.
    4. Click Create.
  2. Install the UiPath.MicrosoftDynamics.Activities package.
    1. In the Design ribbon, click Manage Packages (this opens the Manage Packages window).
    2. Under All Packages, click Official!
    3. In the Search bar, enter Dynamics.
    4. Click, install and accept the license for the UiPath.MicrosoftDynamics.Activities.
      • For more information about Uipath Studio packages, see Managing Packages in the Studio Guide.

You're done!

Now that you have completed the setup, you can start adding the Microsoft Dynamics 365 activities to your project.

Next steps

For a hands-on learning experience and to quickly start using the activities, see the Quickstart guide. This guide provides step-by-step instructions to help you create a working sample of the different activities so that you can verify the connection to your Microsoft Dynamics 365 instance and get familiar with the input/output properties.

To learn more about the Microsoft Dynamics 365 activities (including example property inputs/outputs), see the Activities page for a complete activity list and links to the activity detail pages.

Updated 25 days ago


Setup


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.