By now you should be able to get your Azure Function triggered from Dynamics 365 and connect back to Dynamics 365 to do some evil awesome things. Debugging Azure Functions however, is not a walk in a park – not like you can set breakpoints and step through the code. Well, you should, of course, […]
Tip #806: How to display portal version
The break was short-lived! Without further ado, first tip of 2017. If you navigate to your Dynamics 365 Administration Center and display all solutions installed in your organization, you will be able to see the version of the solution(s) installed but not the version of the portal code itself. Just add /_services/about to your portal […]
Tip #799: Video Guide to Dynamics 365 App Designer
In this video, we take a more in depth look at Dynamics 365 Apps Modules. We look at how they are presented in the application, how to create them, how to control security, how to work with the different components, and more. Give us your feedback, all of it: good, bad, and ugly, I’m sure […]
Tip #798: CrmServiceClient and multiple instances
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 #795: How to change your portal audience
We all make poor choices in life. Selecting the right audience for Dynamics 365 Portals is one of them. You made a mistake, you wanted Partner but selected Employee and now you seem to be stuck. You even tried importing all portal solutions by hand and, while they do light up the site selector, audience […]
Tip #794: Connect to Dynamics 365 in Azure Functions
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
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
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
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) […]
Tip #786: Delete vs reset for Dynamics 365 instances
In Dynamics 365 admin center, you can Reset a sandbox instance – this deletes the current instance and provisions a new one in its place, essentially returning it to the factory conditions. However, any provisioned organization in Dynamics 365 consumes storage – about 180MB for empty Dynamics 365 organization without any sample data or trial […]