This Power Apps Tutorial will discuss how to get data from Dynamic 365 using MS Flow.
We will also see how to search records from Dataverse Account Entity on clicking a button using the Power automate from the canvas app.
Step 1
We will Create MS Flow to get data from the dynamic 365 account entity and send a response to the canvas app.
Navigate to https://make.powerapps.com/
Once the above link opens, please click on flows from the left navigation and click on new flow.

Please select instant cloud flow

As per the requirement, give the flow name and select PowerApps.

The next step is to create two variables, Name and City, because our application will search based on these two inputs.


The next step is to select list rows from the power app where we need to select our entity (Ex: Account entity) and click on show advanced options to write our Fetch XML that we have downloaded from advance find.


We can get the counts of each record.
Create one variable and give this formula "@length(body('List_rows')?['value'])" as per the below screen.

The next step is to create compose and Body inputs fields.













Join the conversation! Your thoughts help the community grow.