Skip to main content

Posts

Showing posts from December, 2021

Register an app with Azure Active Directory

This article will guide you on how to register an application with Azure Active Directory. Once the application has been registered you can use it on OAuth authentication for your various applications. Navigate to your azure portal → Azure Active Directory → App registrations → New registration Provide appropriate name → Register Once the registration has completed you will be able to access the Application (client) ID we will use it later to create Application Use in Dynamics 365 Navigate to Certificate & secretes→ New Client Secret Make sure to store somewhere safe The Secret ID Value Navigate to API Permission → Add a permission Select Dynamics CRM Click Add permissions Create Application User Navigate to Advance Settings→ Security → Users→ New User Make sure to change the form to “Application User” Enter Application ID that we created earlier and Save All the necessary informati

Power Platform Tool for Visual Studio 2019/2022

 Power Platform Tool for Visual Studio 2019/2022 We have a new Visual Studio Extension Power Platform Tool.  Creation and deployment of Plugins, Custom Workflows and WebResources is going to be easy and time saving.  This article is going to focus on how to connect to your environment and create your Visual Studio Solution. In a subsequent article I will try to cover on how to Create and deploy your components to your environment. Installation is straight forward go to      Tools→ Manage Extensions→ Search for Power Platform Tools     You will Need Visual Studio 2019 or later version     Subsciption to Pawer App/Dataverse or trial       .Net Framework 4.6.2 Now we will go over how to create a Project and connect it to your Environment Open Visual Studio 2019 →New Project Search for Power Platform Solution Template Add Project Name and Location → Create Click on Start from Dataverse to connect to your environment Enter the following and → Login

Synchronous Power Automate Flow Error Handling

Synchronous Power Automate Flow Error Handling In the previous article we walked through a scenario how to call a Power Automate Flow Synchronously. In this article we are going to discuss how we can notify the Web Hook when Power Automate Flow errors out or success  At the end of my Flow I have introduced a parallel branch and Configure the left branch to execute has failed has timed out  Once the flow errors the left branch is going to execute, we will execute a Response with Status code 400. when the flows errors out on save you are going to get the following error The error indicates that the webhook has error out, it enough for you to understand that the flow has errored out.

Synchronous Power Automate Flow

Synchronous Power Automate Flow   As we all know Power automate flow is an asynchronous execution mode. There is the question though can we execute Power Automate Flow Synchronously? The answer is yes. It will need a little bit of reworking and thinking. The idea is to create a Flow that we can control when to trigger it. What if we create a Web Hook and trigger the Synchronously. I have created a sample Power Automate Flow for this experimentation Create a Flow with HTTP Request Action Once you have saved the flow Copy the URL Open Plugin Registration Tool Register New Web Hook Register a new Step, I want this to execute on update of Account Entity on change of Description fiel Happy Coding