(Example) How to Get the Access Token Credentials from Microsoft Dynamics CRM

To get the access token credentials from Dynamics CRM, do the procedure in this topic.

Prerequisites

  • A Microsoft Dynamics 365 account

Good to Know

  • OAuth 2.0 access tokens require a 2-way exchange of credentials between AgilePoint NX and the external service. This means that you must get the credentials from the third-party service to paste in the AgilePoint NX access token, and get the redirect URI from AgilePoint NX to paste in the external service. This requires you to open both the AgilePoint NX access token and the third-party service at the same time, so you can copy and paste from one screen to the other.

    This topic shows the suggested procedure for Microsoft Dynamics CRM. The exact procedure for your access token depends on whether you already have a connection (usually called an app) configured in the external service.

  • This topic gives one example. The procedure may vary depending on your configuration and account settings in the third-party service.
  • Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation, and it is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business uses cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, and other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Step 1: Start Creating an Access Token in AgilePoint NX

First, create a new access token in AgilePoint NX for Dynamics CRM.

How to Start

Procedure

  1. In AgilePoint NX, open the access token configuration screen for Microsoft Dynamics CRM.

    Dynamics CRM Access Token screen

    Do not configure the access token credentials.

    Keep the access token configuration screen open in AgilePoint NX, but do not save it.

Step 2: Copy the Microsoft Dynamics CRM Credentials

Next, copy the Dynamics CRM credentials to your AgilePoint NX access token.

How to Start

  1. In a new web browser tab, sign in to Microsoft account with a Microsoft Dynamics 365 account:
  2. In a different web browser tab, in AgilePoint NX, open the Microsoft Dynamics CRM access token configuration screen.

Procedure

  1. In Microsoft Office 365, on the Home screen, click Dynamics 365.

    Office 365

    A new tab or window opens in your web browser.

  2. On the new tab, in the Dynamics 365 Home screen, in the My apps section, click Connected Field Service app.

    These apps are available in Dynamics 365 by default.


    My Apps
  3. On the Welcome to Connected Field Service screen, click Do Not Show Again.

    My Apps
  4. On the Connected Field Service Dashboard screen, click Settings > Advanced Settings.

    Settings

    A new tab or window opens in your web browser.

  5. On the new tab, in the Business Management screen, click Settings > Customizations.

    Settings Customizations
  6. On the Customization screen, click Developer Resources.

    Customization screen
  7. On the Developer Resources screen, in the Endpoint Address field, copy the Endpoint Address value.

    Endpoint Address
  8. In AgilePoint NX, on the Microsoft Dynamics CRM Access Token Configuration screen, in the Organization Service Endpoint Address URL field, paste the Endpoint Address value from Dynamics 365.

    Paste Endpoint Address

Step 3: Complete the AgilePoint NX Access Token

Next, complete the AgilePoint NX access token configuration for Dynamics CRM.

How to Start

  1. In AgilePoint NX, open the Microsoft Dynamics CRM access token configuration screen.

Procedure

  1. In AgilePoint NX, on the Microsoft Dynamics CRM Access Token Configuration screen, in the Token Name field, enter a name for the access token.

    Dynamics CRM Access Token screen
  2. In the User Name field, enter the e-mail address for the Microsoft Dynamics CRM account.

    This field shows the username of your tenant account by default.


    NetSuite Username
  3. In the Password field, enter the password for the Microsoft Dynamics CRM account.

    This field shows the password of your tenant account by default.


    NetSuite Password
  4. Click Test Connection.

    Test Connection

    If the connection is successful, a confirmation message shows.


    Test Connection
  5. Click Done.

    Save Access Token