Tip #798: CrmServiceClient and multiple instances

Reduce reuse recycle

If you are using Microsoft.Xrm.Tooling.Connector.CrmServiceClient and relying on nuget to reference the assembly in your project (as you should) then you need to be aware of what seems to be an odd behavior but is, in fact, a bug fix. Run the following code: And get: Wait a minute, what? Same user and org? Despite […]

Tip #796: Long live ExecuteFetchRequest!

Long live rock'n'roll

Love those days when people send their gems and discoveries to jar@crmtipoftheday.com – other people’s cleverness tend to rub off on us, making us a bit smarter every single post. Aron Fischman from xRM Edge LLC made this intricate discovery while working on a product that calculates aggregates on CRM data. In his travels he’s […]

Tip #794: Connect to Dynamics 365 in Azure Functions

Something useful

Delegating some work from plugins to Azure Functions turned out to be not as complex as we expected. Making function to do something useful (like updating Dynamics 365 records) was entirely different story. After running some NEL (naked eye learning) algorithms against our sales pipeline we calculated that an average opportunity value is inflated by […]

Tip #792: Invoke Azure Functions from Dynamics 365

Function app on consumption plan

You probably heard of the new kid on the Azure block: Azure Functions, that allow serverless execution of code. Wouldn’t that be nice to be able to trigger this serverless execution from Dynamics 365? I’m glad you asked! Since functions are very new, some plumbing is required but not as much as one would think. […]