Start integrating with ONEiO for free!
SIGN UP

How to configure MS Dynamics 365 for integration with ONEiO

Introduction

This document shows an example of what needs to be done in MS Dynamics 365 to make it integration-ready with ONEiO. Note also, that the number of fields used in integrations might vary. The document also describes what ONEiO needs to be able to send messages to the MS Dynamics 365 instance.

Currently MS Dynamics 365 endpoint type includes;

  • Case

  • Annotations

For any questions related to setting up the integration, please send mail to support@oneio.cloud. You can sign up for a free trial of ONEiO from the following link:  ONEiO Free Trial

 

Sending messages from Dynamics 365 to ONEiO

Create Azure Active Directory App

Pre-requisites

Setting Up Application

On Portal Azure 

  • Navigate through App Services > Manage Azure Active Directory "view" > App Registrations

 

Screenshot_2022-10-20_at_15.06.26.png

to-be-updated

  • "New Registration" and fill the form as below

register-app.png

 

  • So now there is new Azure Active Directory app.

    • Application (client) ID is to be used as Client ID on Endpoint Type Configuration while setting up MS Dynamics 365 endpoint type on ONEiO

app-overview.png

  • Endpoints

    • You can reach related links from Endpoints tab

    • OAuth 2.0 (v1) is going to be used in “OAuth2 Token URL” while setting up MS Dynamics 365 endpoint type on ONEiO

endpoints-tab.png

 

  • Go to Certificates & secrets

certificates.png
  • Create a “New Client Secret” and save it somewhere safe or you’ll have to regenerate later.

  • Go to “App permissions”

api-permissions.png

  • Click “Add a permission” and choose “Dynamics CRM”

request-API-permission.png

 
request-api-2.png
 
  • Check “user_impersonation” then “Add permissions”

 

Add Application User to Dynamics 365

environments-power-platform.png

 

  • Your environment URL. That’s what is going to be used to access to tool.

admin-01.png
  • Open Settings then go to Users/ Application Users

 
 
admin-02.png
  • Create “New App User”

    • Select the app created on Portal Azure Active Directory

    • Select organisation

    • Assign a role to app user (for example System Administrator)

    • Create the app

create-app-user-01.png

 

MS Azure Active Directory application and application user is set for integration with ONEiO

To sum up;

  • Application (client) ID created.
  • Client Secret is created and saved
  • Azure Active Directory app and related user is created.
  • Required endpoints for integration can be accessed via Portal Azure.
  • Environment URL, Base URL on ONEiO, is created and can be accessed via Power Platform Admin page.

Sending messages from ONEiO to Dynamics 365

Create MS Dynamics 365 Endpoint Type

Navigate through your ONEiO Endpoints page and create a MS Dynamics 365 endpoint.

 

Screenshot_2022-10-21_at_13.45.32.png

 

On General section;

  • Name your endpoint
  • Enter Base URL which is Environment URL on Power Platform Admin page
  • Select your timezone

On "Your endpoint name" to ONEiO section;

  • Set your polling status
  • Set your polling interval duration
  • Select your filter operation
  • Enter date-time which polling starts

On ONEiO to "Your endpoint name" section;

  • Fill Client ID with Application(client) ID on Portal Azure
  • Fill Client Secret with Client secret value which created on Certificates & Secrets step above
  • Enter your OAuth url to generate token

For more details Endpoint Type Guide - MS Dynamics 365 can be checked.

MS Dynamics 365 endpoint type is set and ready for integration use.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.