Referencing Dynamics Assemblies with Azure Function Apps v.2

Tuesday, February 19, 2019

Just stumbled upon a new  Azure environment, where Azure Function Apps have been upgraded to version 2. Right away, noticed that my Azure Function code referencing Dynamics assemblies does not compile, complaining aboutThe type or namespace name 'Xrm' does not exist in the namespace ‘Microsoft' (are you missing an assembly reference?) After digging around, I found out that the project.json is not longer valid with v.2.Instead, the function.proj file must be created and reference Dynamics assemblies in the following manner:       461              

Microsoft Graph API – Assign DYN365 License to AAD User

Thursday, December 27, 2018

The automated process of user provisioning becomes common in many projects. Often, the process includes components outside of Dynamics 365 such as  creating a user in Azure Active Directory, assigning plans and licenses and adding user to AAD groups. All of these can be automated using the Microsoft Graph API. In this post, I’ll demonstrate assigning Microsoft Dynamics 365 license to an existing user with Postman. You can later convert Postman requests to JS or C# code or use in Flow and Logic Apps. Prerequisites Have Postman application installed Have access to Office 365 and...
no comments

Execute a Recurring Job in Microsoft Dynamics 365 with Azure Scheduler

Thursday, February 8, 2018

The requirement for recurring job execution is quite common in Microsoft Dynamics implementations. Here are some of the business requirements I have encountered: Send monthly newsletter to target customers Synchronize MSCRM Users details with Active Directory once a day Once a month, disqualify all leads that have no open activities Once every hour, export Appointments from mail server and import into Dynamics 365 Microsoft Dynamics 365 has no reliable built in scheduling mechanism that can be leveraged for custom solutions. The Asynchronous Batch Process Pattern I have written about in the past can be used with daily...
no comments