Dynamics 365

Dynamics 365 call workflow from c# (in code)

Let’s suppose you have a requirement to run a workflow on several records, so rather than going through selecting multiple records and running workflows, we can do this by calling workflow in code Below is a sample code where we … Read More

Integration of Dynamics 365 using Azure Logic Apps

Integrating Dynamics 365 with other systems has always been an interesting topic and we have used different methods to achieve this, either solutions available in the market or custom development however since Microsoft has introduced Logic Apps, things have gone … Read More

Open Close as Won dialogue with JavaScript on Opportunity

You might come across a requirement where you wan to open Close as Won or Close as Lost dialogue when user gets to last stage of business process flow on Opportunity form. Out of the box button (‘Close as Won’) … Read More

Metadata contains a reference that cannot be resolved: ‘https://crm.abcd.com/2011/Organization.svc?wsdl=wsdl0’

Metadata contains a reference that cannot be resolved: ‘ttps://MyOrg.api.crm.dynamics.com/XRMServices/2011/Organization.svc?wsdl’ This error comes when running a sample code from Microsoft, in my case I was testing ‘DK\SampleCode\CS\DataManagement\DataImport’ from Sample code but you might come across same error if running ant other … Read More

Logic App Expand on multiple entities in Dynamics 365

As we know we can only get one entity back if we are using  Get record connector to query Dynamics 365 in Logic App however if we use List records to get a number of records or filter it on the basis … Read More

Azure Logic App – Check if List Records is not null

Below is a query to check if List Records in Dynamics 365 in Azure Logic App contains some data and is not nulllength(body(‘List_accounts’)?[‘value’])

Dynamics 365 authentication without username/password and using azure

We are going to connect to Dynamics 365 api , get a list of contacts using Web Api using a token First thing we need to do is, resister an app in azure active directory  Go to portal.azure.com >Azure Active Directory … Read More

Logic app convert GMT to ddMMyyyyHHmmss

A simple function to convert GMT standard time  to ddMMyyyyHHmmssconvertFromUtc(utcNow(),’GMT Standard Time’,’ddMMyyyyHHmmss’)