Using Power Automate to trigger on Create or Update in the CDS and make HTTP requests with OAuth 2.0 authentication

I will tell you in the next post more about my journey designing and implementing B2B integration links for my client. But my today’s big ThankYou goes to this person. “Thank you so much!’

Carina M. Claesson

In my previous blog post I mentioned that Microsoft Flow has been rebranded to Power Automate. We still create flows though and this week I created a flow. Then I thought to myself, why not share it, perhaps someone might benefit from it and the next thing I knew this blog post was written and ready to be published. In this blog post I will let you in on how to make HTTP requests with a flow, using OAuth 2.0 authentication, i.e. a 2-step authentication. Basically, first you make a request in order to get an access token and then you use that token for your other requests.    

View original post 1,633 more words

PowerApps Portal, Uncategorized

Power Portal: a custom maintenance page

Well, there is one: https://docs.microsoft.com/en-us/powerapps/maker/portals/admin/enable-maintenance-mode If OOB one works for you don't bother reading any further. Didn't work for us because we wanted some flexibility for the dev team and testers to be able to login, check, clear cache etc So the requirement was to display a maintenance page to portal users and make the… Continue reading Power Portal: a custom maintenance page

Business Applications, Common Data Service, dynamics 365, Flow, Uncategorized

CDS current environment connector: Filtering attributes for the record created

Let's say I want trigger some logic when the particular field has been modified on a record. In this example, I modify a contact Email field and create a Note when it's been modified. I picked up a trigger for Create or Update because you can enter Email for a new record or you can… Continue reading CDS current environment connector: Filtering attributes for the record created

PCF Controls, PowerApps, Uncategorized

Braintree payments PCF component (Power Apps)

(The below has been described and tested for Canvas Power Apps. This has not yet been tested and adapted for Model-driven apps. As for the Power App Portal app, another integration pattern is appropriate, to be discussed later) This package for import in your CDS environment and source code of the control are packaged here: https://github.com/andrew-grischenko/BraintreePaymentsPCF… Continue reading Braintree payments PCF component (Power Apps)


Renaming Child Flow: the magic didn’t happen

Oops, I did it again! I renamed my child Flow action from "Run Child Flow" into "Generate Code". I was counting on the intelligence of the engine to figure things out for me. Wouldn't it expect me to re-add all my references to the Flow? Or would it? I was pleasantly surprised seeing the "Generate_Code"… Continue reading Renaming Child Flow: the magic didn’t happen