A dive into why a Customer column in a custom table might only show Accounts in the lookup — and the simple fix that unlocks Contacts.
Building a Dataverse Client Factory for Azure Functions
Building a Dataverse Client Factory for Azure Functions When integrating with Microsoft Dataverse from Azure Functions, managing authentication securely and efficiently is critical. In this post, we’ll walk through a pattern for creating a ServiceClient that supports both local development and production deployments using Azure Managed Identity. We will aslo cover how to setup App Registration and Managed Identity in Entra Id to achieve this goal. The Goal We want a factory that: ...
Handling Execution Context in ui.addLoaded for Power Apps Model-Driven Apps.
During recent development, I encountered challenge with function ui.addLoaded. After implementing it in my code: var A = A || {}; A.Case = A.Case || {}; A.Case.defaultCaseTypeOnLoad = function (executionContext) { try { const formContext = executionContext.getFormContext(); const formType = formContext.ui.getFormType(); // Ensure the code only runs on Create forms if (formType !== 1) return; formContext.ui.addLoaded(A.Case.defaultCaseTypeOnLoadExecute); } catch (e) { console.error(`Error in A.Case.defaultCaseTypeOnLoad: ${e.message}`, e); } } A.Case.defaultCaseTypeOnLoadExecute = function (executionContext) { //Perform some logic that is not relevant to example } catch (e) { console.error(`Error in A.Case.defaultCaseTypeOnLoadExecute: ${e.message}`, e); } }; it turned out that executionContext was undefined after function A.Case.defaultCaseTypeOnLoadExecute was executed. ...
Troubleshooting Power Automate: Flow Trigger Issues and the CallbackRegistration Table
Introduction Power Automate is an incredible technology that allows us to create integrations and implement business logic without writing code. However, like any tool, it can sometimes present challenges during implementation and execution. In this blog post, we’ll explore one of the most common problems I’ve encountered: flows not triggering, even when the Power Automate editor shows them as turned on and the connection references are correctly set up in the given environment. ...
Who Am I
Hi! My name is Tomasz, and this is my personal blog. Here, I want to share my experiences, ideas, and small discoveries from my daily work with Microsoft Power Platform. I’ve been working as a developer with Dynamics CRM (yes, I still call it that sometimes!) since 2013. Over the years, I’ve learned many useful things — some the hard way — and I thought it’s time to start writing them down. ...