Login to Microsoft Dynamics 365 using Dynamics

I am unable to connect to Dynamics 365 web page using UIPath Dynamics connector (simple ID & password, no oAuth). Please could you help.


1 Like

RemoteException wrapping UiPath.MicrosoftDynamics365.Dynamics365Exception: Cannot connect to server. Please check your credentials.
at UiPath.MicrosoftDynamics365.Dynamics.Authenticate()
at UiPath.MicrosoftDynamics365.Activities.MicrosoftDynamics365Scope.Execute(NativeActivityContext context)
at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Hi @ManjunathaKN - You need to use O365 activities under scope using Application Id which you can generate from Azure portal .

You can read it in here.


Why can’t we use the Dynamics 365 activities from UiPath Go? https://docs.uipath.com/integrations/docs/dynamics365-scope

@Craig1 - Both link are redirecting to same page.

No they don’t. One is UiPath.MicrosoftDynamics365.Activities.MicrosoftDynamics365Scope and one is Office365 scope. Furthermore, the Office365 scope documentation doesn’t even mention Dynamics.

@ManjunathaKN Did you get it to work?

Is the login to Dynamics 365 working?? Also in the quickstart there are references to both Office 365 Scope and Dynamics 365 Scope? The text says Office 365 whereas the screenshot says Dynamics 365. Which scope are we supposed to use?


I am trying to automate ms dynamics and added the package in uipath. Does anyone has implemented it ? Any documentation would be helpful. I have gone thru the following links but not much of help.


Any demo document is much appreciated.

Manikandan, I am currently working on a process that automates Dynamics SL 2018, which doesn’t even have a UIPath package, so I don’t think my experience is going to be much help. I launch Dynamics via Citrix and then have to play around with the UIPath selectors to get the behavior I want. It has been (and continues to be) quite a challenge. If you run into any specific problems, I would be happy to review and see if I can help.

Did you solve this?