Dynamics 365

Logic Apps For Each loop getting attribute value

Let’s say we have a logic app which gets some data in JSON and some of the data is in array{“Name”: “TestAPP”,”Detectors”: [{“@objectType”: “Detector”,”Name”: “”,”DetectorType”: {“@objectType”: “DetectorType”,”Name”: “Smoke”},”DetectorExpiryDate”: “2024-10-14T10:36:00″,”DetectorResults”: {“@objectType”: “PassFail”,”Name”: “Pass”},”DetectorLocation”: {“@objectType”: “Position”,”Name”: “Hall”}}]} In this example we have … Read More

Check if value is null in List Records in Logic App

If we are using List Records (To get a list of records from Dynamics 365) in Logic App, some times we need to check if list returned any value or if its null before we use index 0 or greater … Read More

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

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

The requested record was not found or you do not have sufficient permissions to view it.

Fun as always working with Dynamics 365 🙂 Kept getting this typical error on creation of a new record which had some look up values. “The requested record was not found or you do not have sufficient permissions to view … Read More