cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
deeps2210
New Member

Allow Permissions in Flow and PowerApps

Hi,

I am evaluating Flow and PowerApps for a project I am working on.  I wanted to ask about the license and permission issues with flow and power Apps

I have a flow that sends and email and is triggered through PowerApp.   I created the Office 365 Outlook email activity, and specified service account1 user in the connection.

flowemail1.PNG

The power app is published on a SharePoint site page and is shared with everyone in the company.  So when a user "UserA" logs in, he is asked to sign in Office 365 Email account on the PowerApp screen. 

 

My question is what credentials is the power app expecting there?  Credential of UserA or Serviceaccount1.  Second question is irrrespective of what is entered, whose account will be used to send email Serviceaccount1 or UserA?

Third question if it will use the account of Serviceaccount1, does it matter if UserA has license for Outlook for Office 365.  

Further when I replaced the outlook office 365 activity with gmail activity and entered a gmail account Account1@gmail.com in the flow, the power app was asking to sign in and give permission for gmail.  So it is mandating the user to log in with Account1@gmail.com to proceed? 

flowemail2perm.jpg

1 REPLY 1
Brad_Groux
Community Champion
Community Champion

Both PowerApps and Flow utilize the account(s) dictated by the Connectors utilized within them. The PowerApp and Flow themselves, run under the credentials used to create them. 

It is not currently recommended that Service Accounts are used for Flow or PowerApps, but if they are they must be licensed for whatever connectors they are using. 

If you setup Gmail under Data > Connections within Flow, the credentials entered there are the credentials used by PowerApps and/or Flow.Connections.png

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,100)