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?