Tip #810: Using Fiddler with Xrm Tooling

Old violin

Sometimes it’s very useful to see what requests are flying forth and back between your code and Dynamics 365. The tool of trade is, of course, Fiddler. Fiddler allows https traffic analysis by using man-in-the-middle interception using self-signed certificates. If you are using Xrm Tooling and, specifically, CrmServiceClient then you quickly find that the following code: […]

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 #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 #793: Enabled app does not mean installed

Gun locked

Depending on the licensing plan, Dynamics 365 instances can have an option to provision Dynamics 365 Portal. In Dynamics 365 Administration Center navigate to Applications and, if you have portal add-on in your subscription, you will see coveted Not Configured against the Portal Add-On app. Click Manage and off you go with the portal provisioning. […]

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. […]

Tip #787: Creating records in Project Service

Dictionary key

When creating records for one of the Dynamics 365 solutions, you may find yourself in the same situation as Guido “Trekkie not Star Wars fan” Preite. The simplest possible code to create msdyn_actual (part of the Project Service) generates “The given key was not present in the dictionary” error. One of the advantages (and curses) […]