I have downloaded and tested the package Microsoft.PowerPlatform.Dataverse.Client version 1.2.10. Setting up the scope and testing the connection has no issue as shown in the screenshot :
25.0.167-cloud.20208+Branch.release-s167.Sha.e22e7d5e6c03252eb25fcc9d11648a12fd7735f1.e22e7d5e6c03252eb25fcc9d11648a12fd7735f1
Error Type: BadRequest, Error: System.Net.Http.HttpConnectionResponseContent
Error: System.Exception: Error Type: BadRequest, Error: System.Net.Http.HttpConnectionResponseContent
at UiPath.BAF.Utilities.BackgroundWorkerUtility.RunOnBackgroundAsync[T](Func`1 function, Nullable`1 timeOut)
at UiPath.BAF.Activities.Design.ViewModel.EntityListViewModelBase.LoadEntityListAsync(Nullable`1 timeout)
at UiPath.BAF.Activities.Design.ViewModel.SelectEntityPageViewModel.LoadEntityListAsync(Nullable`1 timeout)
at UiPath.BAF.Activities.Design.ViewModel.SelectEntityPageViewModel.LoadPageAsync()
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233088
The credentials work in Postman and I have been able to make Http request to get my bearer token and other entity and record information. Is there something I might be missing? Or is this a known issue?
Here is a screenshot of the propertties, they did use to have variables but im using static values now (still have to declare the secure string using new System.Net.NetworkCredential("", "thesecret")).SecurePassword)
I get the same error when using “Microsoft Dynamics Application Scope” to connect to CRM365, “Connection Successful” but when I use the “Get Records” Activity same Bad Request Error pops up. Works fine in postman to get a Token and use the WhoAmI Endpoint for example. What API version is called by the Activity?
The Scope connection only works if I enter:
https://[ourdomain].dynamics.com.
The complete endpoint is refering to version 9.0:
https://[ourdomain].dynamics.com/api/data/v9.0/
Thanks for an answer…