Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
nateharwood
Frequent Visitor

PowerApps / Automate in embedded environment

I'd like clients to be able to trigger a flow, but it doesn't seem possible in an embedded environment. The objective is that the client can send filtered data to an API and see the API output on demand. I've got this working in desktop and service.

 

However, it looks like Power Automate isn't supported in an embedded (app owns data) environment. I then tried PowerApps and found out that it only works if the client authenticates using their own Microsoft account. Is this understanding correct and is there any way around this?

 

Many thanks,

1 ACCEPTED SOLUTION
Adamboer
Responsive Resident
Responsive Resident

Based on your description, it appears that you are trying to enable clients to trigger a flow in an embedded environment, but are facing some limitations with Power Automate and PowerApps.

You are correct that Power Automate is not currently supported in an embedded (app owns data) environment. However, there may be alternative solutions to achieve your objective, such as implementing a custom API endpoint that your clients can call to trigger the flow.

Regarding PowerApps, it is true that users need to authenticate using their own Microsoft account to be able to use the app. However, you may be able to create a custom connector in PowerApps that uses a service account for authentication, allowing clients to trigger the flow without the need for their own Microsoft account.

Another potential solution could be to use Azure Logic Apps, which supports triggering flows through HTTP requests. This could allow you to create a custom API endpoint that clients can call to trigger the flow, without the need for Power Automate or PowerApps.

In summary, while there may be limitations with Power Automate and PowerApps in an embedded environment, there are alternative solutions such as creating a custom API endpoint or using Azure Logic Apps that could help you achieve your objective.

View solution in original post

3 REPLIES 3
Adamboer
Responsive Resident
Responsive Resident

Based on your description, it appears that you are trying to enable clients to trigger a flow in an embedded environment, but are facing some limitations with Power Automate and PowerApps.

You are correct that Power Automate is not currently supported in an embedded (app owns data) environment. However, there may be alternative solutions to achieve your objective, such as implementing a custom API endpoint that your clients can call to trigger the flow.

Regarding PowerApps, it is true that users need to authenticate using their own Microsoft account to be able to use the app. However, you may be able to create a custom connector in PowerApps that uses a service account for authentication, allowing clients to trigger the flow without the need for their own Microsoft account.

Another potential solution could be to use Azure Logic Apps, which supports triggering flows through HTTP requests. This could allow you to create a custom API endpoint that clients can call to trigger the flow, without the need for Power Automate or PowerApps.

In summary, while there may be limitations with Power Automate and PowerApps in an embedded environment, there are alternative solutions such as creating a custom API endpoint or using Azure Logic Apps that could help you achieve your objective.

Hi Adam, thanks so much for taking the time to write this, lots of helpful ideas. Nate

v-shex-msft
Community Support
Community Support

Hi @nateharwood,

I think you can try to create Caven app in power apps side to integration with power automate operations. Then you can integrate this app in power bi visuals(PowerApps visual) and use this report to embed.

Start a flow in a canvas app - Power Apps | Microsoft Learn

Power Apps visual for Power BI - Power Apps | Microsoft Learn
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.