dynamic-crm

Posts in this category.

Power Automate: Create Flow to Send App Registration - Secret Expired On

Feb 14, 2025

Have you ever forgotten to create a new secret for your Azure App Registration causing your application to error? The problem with the UI is we can't detect when the secret will expire. And of course, I'm too lazy to open 1 by 1 to check when the secrets will expire! From the UI,...

Let's learn about Dataverse - BulkDeleteRequest

Feb 1, 2025

BulkDeleteRequest is a feature in Dataverse that we can use to delete data across multiple tables. It is based on a scheduler (optional) and runs in an asynchronous process (as this process runs in the background, meaning this operation will not be performance-friendly). By...

Setup Github Workflow to generate Dataverse Entity Classes

Jan 25, 2025

As a person who cherishes "Early-Bound" so much, I want to ensure my team also uses it in the project. The step to generate the "Early-Bound" is not too complicated, especially after Microsoft Power Platform CLI (pac modelbuilder build). But, again, enforcing it on other team...

Dataverse ServiceClient: Comparing ExecuteAsync vs Execute

Jan 19, 2025

This is another benchmark blog post, in which I tried to upgrade the greatest snippet on how to do bulk insert, update, or delete (blog post by Mark Carrington that you can read here) with the async operation. As you know, the latest Dataverse ServiceClient supports async...

Dataverse: Using Or Condition in multiple QueryExpression.LinkEntities

Jan 11, 2025

Quick tips for those who want to retrieve data using QueryExpression, join it with multiple tables, and filter it using OR condition based on LinkEntities. To simplify the explanation, let me show the SQL Query that we want to achieve for the scenario: SELECT contact.firstname,...

Benchmark: Comparing Pooling Setting in TDS Endpoints

Dec 7, 2024

We must construct the SQL Connection String when connecting to Dataverse TDS Endpoints via .NET code. The structure of it by default is just "Server={orgname}.crm.dynamics.com;Database={orgname};Persist Security Info=False;". When we talk about SQL connection strings, there are...

Learn: Create Power Automate Custom Connector - API Key Authentication

Nov 24, 2024

Today we will learn how to create a Custom Connector from scratch and implement API Key Authentication. The authentication code that I used is the reference from the below YouTube video from Nick Chapsas: https://www.youtube.com/watch?v=GrJJXixjR8M Without further ado, let's...