Simon Marqvarsen

Results 5 comments of Simon Marqvarsen

You should look into https://dynamicsvalue.github.io/fake-xrm-easy-docs/quickstart/ its a (license) based tool made to mock the IOrganizationService with support for lots of features

> Hi @MattB-msft , Thanks for your response. We use interface instead of Service Client when sending request Dataverse. And yes, in DI scenarios, we want to unit test the...

> But would be concerned about potentially wrong impersonations with a shared singleton instance? You should save it in a shared instance, you could have a Dictonary where you create...

> > ``` > public static ServiceClient GetService(D365Settings d365Settings) > { > var client = new ServiceClient(new Uri(d365Settings.OrganizationUri), d365Settings.ClientId, d365Settings.ClientSecret, false); > > if (client.IsReady) > return client; > >...

> Important to remark that this happens 1 to 10 times per day and only during the daily synchronisation process. We publish around 30k messages on the queue that are...