Using the Http Request connector in Power Automate

Trying to expose records in dynamics to an external? , we can achieve this using power automate. In this example, the Power automate flow  will look like this :

The first trigger is “When a HTTP request is received” , create a sample schema and make the method post. A url is generated, this is the url we would call a POST method using postman:

Continue reading “Using the Http Request connector in Power Automate”

Sending Adaptive card to Microsoft teams, to create D365 Record using Power Automate

I have been developing teams lately, one interesting functionality I came across is Adaptive Cards. Adaptive cards can be used with Android, iOS, JavaScript etc, in our example, I will be using adaptive card to collect information about a trip via power automate, to create CDS records.

In the docs, which can be found here , Adaptive cards “are platform-agnostic snippets of UI, authoored in JSON, thats apps and services can openly exchange”

Continue reading “Sending Adaptive card to Microsoft teams, to create D365 Record using Power Automate”

Connecting to PowerPlatform/CDS from a .Net Core App – not using username/password

I briefly talked about how to connect to dynamics in a .Net Core app in my in my integrating stripe with dynamics here , today we would be goingin depth on how to create an app in azure and creating an application user to connect to dynamics from your App.

Some requirements from client would be to connect to dynamics from an external App without using an end user’s username and password, using this method, such requirements coud be met.

Continue reading “Connecting to PowerPlatform/CDS from a .Net Core App – not using username/password”

Multiselect entities in a lookup control using Xrm.Utility.lookupObjects()

You can get the requirement to lookup multiple entities and do something with the selected lookup values. Well search no more, the Xrm.Utility.lookupObjects() Api method would meet such requirement .

I have loaded the below code to trigger on the change of a field. The lookup entities in the below is Contact and Account (it could be a custom field).

Continue reading “Multiselect entities in a lookup control using Xrm.Utility.lookupObjects()”

Dynamics 365 API updates

With the wave 2 Release update came a number of updates to the dynamics SDK, 3 major updates caught my attention :

  • Formerly Xrm.Utility.getGlobalContext().userSettings.securityRoles is now Xrm.Utility.getGlobalContext().userSettings.roles
  • Xrm.Utility.getGlobalContext().userSettings.transactionCurrencyId is now Xrm.Utility.getGlobalContext().userSettings.transactionCurrency

Before the update, Xrm.Utility.getGlobalContext().userSettings.securityRoles returns

Continue reading “Dynamics 365 API updates”

Posting images to Azure Blob storage From Dynamics using Canvas App

In this article, we are going to upload Account entity images to azure blob storage.

Prerequisite needed to implement the requirements in the post are:

  • You should an azure blob storage account up and running. you can follow this microsoft post on how to create one here
  • You should know your way around canvas App studio
  • Access to dynamic 365 instance.
Continue reading “Posting images to Azure Blob storage From Dynamics using Canvas App”

Integrating Stripe payment service with Dynamic 365 using Blazor ASP.NET Core

In this post, I will be integrating stripe payment service (Check out that support European strong customer Authentication) with the power platform (D365), and Blazor ASP.NET Core would serve as the middle ware between D365 and Stripe.

Prerequisites for this post:

  • Access to dynamic 365 instance
  • A test account with stripe
  • you should know your way on how to navigate aroung Blazor project
Continue reading “Integrating Stripe payment service with Dynamic 365 using Blazor ASP.NET Core”

Read Data From Azure function request body from webhooks call Using Dynamics 365.

In this blog post, I will assume you know how to create an Azure function, publishing the function using visual studio and registering a webhook against the function. For more information regarding creating a function and calling the function’s endpoint, click here.

There are lots of blogs on calling azure functions using the plugin registration tool, but just a few dive in deeper about accessing the request body data in the azure function itself, so this blog post is about solely accessing the request body and retrieving the specific data you want. In this example, we want to retrieve data from an account record in dynamics, when it is created.

Continue reading “Read Data From Azure function request body from webhooks call Using Dynamics 365.”