If you are exposing azure APIM api then it must be secure. If the api is meant to be used by another azure service, then securing/authorization it using managed identity is the easiest solution to comply with security standards. In the below example, I have some API operations in an APIM api and want to... Continue Reading →
How to capture CRM client side telemetry and send to Application Insights
To log ms crm client side telemetry to Application insights use below code: https://github.com/vgrade/MSCRM/blob/main/Scripts/ClientSideAppInsightsLog.js var thisEntity = window.NameSpace || {}; if (ApplicationInsights === "undefined") { var ApplicationInsights = {}; } ApplicationInsights = { trackApplicationInsight: function (entityName, properties) { var appInsights = window.appInsights || function (config) { function i(config) { t[config] = function () { var... Continue Reading →
How to use action as an integration tool in Dynamics 365 CE (CDS/Data Verse)
Action are powerful feature of dynamics 365 which help us to do many things including exposing a wrapper endpoint which can be used for performing any operation in dynamics 365 CE. The exposed endpoint can be called by any system who is authorized to do so. Although we have got a new feature (in preview... Continue Reading →
How to Secure Secrets in Logic app editor and run history using ARM template, key vault and secure input
Logic apps are great at orchestrating integrations with UI based workflows and supports over 200 connectors, so it become 1st choice for many integration scenario. One of the most common scenario is when we want to use some secure parameters (like username, password etc) in logic app, it become important to secure such secrets properly... Continue Reading →
How to enable app insights in azure app service (Web app)
App insights is very powerful logging and monitoring azure service which help us keep track of traces, logging and exceptions of our web app. App insights have many more powerful feature, we'll focus on understanding how we can enable application insights in our webapp and check our traces/logs/exceptions :- Step 1: Create a App service... Continue Reading →
Upload a file to Azure storage account using .NET Core Console Application
Step1: Open Visual studio and create a new .NET Core solution Step2: Open cmd and navigate to the directory of your project using below command: cd C:\Users\vishkuma\source\repos\ConsoleApp20\ConsoleApp20 Add nuget package to Azure storage using below command: dotnet add package WindowsAzure.Storage Add Microsoft.Extensions.Configuration.Json Nuget package by executing below command in cmd dotnet add package Microsoft.Extensions.Configuration.Json You'll... Continue Reading →
How to Populate Multi-Lookup attribute in CE using Azure data factory
While trying to sync data from sql staging db to CE, I faced an issue in populating the multi-lookup columns. In our demo scenario, we will import data from sql to CE in contact entity in following columns: FirstName, LastName, Email, Company. Here Company is multilookup of contact and account entity both. Let's suppose we... Continue Reading →
How to publish webjob from azure devops to azure app service using Azure app service deploy task
So the other day i was trying to publish azure webjob from devops release pipeline using "Azure app service deploy" task which is oob task available in azure devops to deploy code to azure app service. Now this activity by default publish to wwwroot directory in app service which works pretty well when you want... Continue Reading →
Query D365 ce using fetch xml in azure logic app (without cds connector)
In azure logic app we have oob connector for cds (common data services) which does most of the task but have certain limitations. We know that fetchxml is much more powerful in terms of aggregation and joins. Also using below approach you can handle the cases where you just want to update dynamics fields in... Continue Reading →
Query D365 CE from console app using azure ad app using client credentials – (Server to server authentication using azure ad and application user for Dynamics 365 ce)
To query ce from outside ce using webapi, follow below steps:- Prerequisites :- Azure ad application with secret generated (Azure Subscription should be with same Office 365 account as of your D365 instance-you can login to azure using your ce trail instance credentials) (Ref ms docs) 2. Application user created in ce with same... Continue Reading →