Business Applications, dynamics 365, Dynamics 365 - new UI, PowerApps

How do I pass executionContext as a parameter into my Promise to fit in Promise.all()?

To be honest, this post should be a bit longer with more details but I like it this way. This is a sample below. It looks cool. And I building one of my own. But I need it to work with my onSave form validation. const promise1 = Promise.resolve(3); const promise2 = 42; const promise3… Continue reading How do I pass executionContext as a parameter into my Promise to fit in Promise.all()?

PowerApps

Where is my Tenant ID? (not Azure portal)

In the casual conversation with Microsoft I was asked about my customer Tenant ID. As a person who use to superpower and admin privileges I went straight to Azure portal: https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview Unfortunately, I don't have the same level of power in my customer organisation as I have in my own. I simple didn't have access… Continue reading Where is my Tenant ID? (not Azure portal)

Business Applications, dynamics 365, Model-driven

Dynamics 365 Sales Pro Trial Setup

Go to: https://trials.dynamics.com/ Let's create your Sales Pro trial in these easy steps (below). Go to trial page to set up trial Scroll down to the highlighted option. Choose for dev purpose option No, continue signing up Create a new account instead Tell us About yourself section. Add details. Enter your phone. Use Verification code.… Continue reading Dynamics 365 Sales Pro Trial Setup

Business Applications, dataflow, Dataflow, Dataverse, Flow, power automate

Getting data from a function in an on-prem SQL server via Gateway in Power Automate

Dataflow magic in Power Automate. SQL with Power Query in Power Automate. Did you know you can do this?

CloudMinded Blog

“We are screwed!”

me at the moment of technology induced panic

That was the feeling when I saw the below error messages.

The client’s setup is an on-prem SQL server exposed to the cloud via an on-prem Gateway. It works perfectly fine for exiting Dataflow integration, but this time we needed data from a function in Power Automate.

Now problem, you can use SQL server connector, right?

Almost (but yes, if you read this post or knew before).

Set back #1

You cannot use “Execute a SQL query (V2)” with an on-prem gateway connection. Not supported!

Sure, let’s then use “Execute stored procedure (V2)”.

Set back #2

Apparently, you cannot return dataset from the function. Can call it if it was just a function or procedure without return value. But if it returns data – bad luck!

Panic mode on!

Wait, but what if…

Power Query to the rescue! Again.

View original post 159 more words

Dataflow, Dataverse

Dataflows for Power Apps: calling a table-valued SQL function with Power Query

It's very easy to query SQL table-valued function to retrieve the result with Dataflows. This is how we do this. Let's connect to a database. It will work via gateway as well. Select your function. Pass the parameter if required. Now you can use this table to merge with other tables or map and load… Continue reading Dataflows for Power Apps: calling a table-valued SQL function with Power Query