Connecting to Dynamics 365 via OAuth
We advise that if you are using OAuth connections you should install an encryption key.
Please note that from Version 6.0.3341 the Dynamics connector supports PKCE.
The connector for Dynamics will default to connecting via OAuth, this uses a public application hosted by Simego to enable Data Sync to request permissions from your Dynamics site to read and write data so that your projects will run.
To get started open the connection window and select Microsoft Dynamics and then the Microsoft Dynamics 365 provider. You will need to enter the URL to your Dynamics site into the URL field and Data Sync will automatically format this to the Organisation Service SOAP\WCF service endpoint.
So you can just copy and paste the URL from your site into the field, e.g. https://<domain>.crm4.dynamics.com
.
Make sure that the Authentication Method is set to Simego OAuth Application and then click the Authorise Connection button.
This will open up a window stating Waiting for OAuth Authorization Code and your default browser to enable you to authorise the request.
Sign in to your Microsoft account to enable the connection and then go back to Data Sync. In the connection window you can now select the entity you want to connect to from the dropdown list. To finish click on to Connect & Create Library Connection to save the connection to the Connection Library.
You can re-use the connection to your Dynamics site from the connection tree window whenever you are creating projects or adding lookups. You can also preview the data before selecting it as your source or target.
Please note that you only need to save the connection to your site once, you will be able to access all of your entities and relationships within that site from the connection library window.