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

PowerApps Connector user impersonation

Hello,

 

I'm trying to implement a security design pattern for a request application.

 

The application gathers information and allocates the request based on certain criteria to a user. The user gets an E-Mail, a Teams planner task get created and there is logging inside of a sharepoint list.

 

For the E-Mail the account of the the powerApps requestor is fine. But he should not have access to the sharepoint nor does he have access to our Teams Planner. How would I go about that?

 

How can I specify a system user/service user which acts as the creator or is there the general possibility to impersonate a user (e.g me, the App creator ) that exceutes the function here Planner.CreateTask?

How does PowerApps Support technical users to perfom actions?

 

Thansk in advance

1 ACCEPTED SOLUTION

Accepted Solutions
BCLS776
Community Champion
Community Champion

Within Power Apps, connectors are accessed with the credentials of the currently logged-in user, which preserves the security of the system. For example, if you have not shared a Sharepoint list with User A and the app needs to access this list, User A will see an error upon starting the app.

 

One way to deal with this is to use standalone flows, such as one triggered when a Sharepoint list item is created or updated. This kind of flow is not called directly by the app, but by a changing condition on the list. The flow then runs under the context of the flow creator. For example, you can give the app (and users) access to the list, and then use a separate flow to modify your Planner entries when that list experiences a particular change.

View solution in original post

1 REPLY 1
BCLS776
Community Champion
Community Champion

Within Power Apps, connectors are accessed with the credentials of the currently logged-in user, which preserves the security of the system. For example, if you have not shared a Sharepoint list with User A and the app needs to access this list, User A will see an error upon starting the app.

 

One way to deal with this is to use standalone flows, such as one triggered when a Sharepoint list item is created or updated. This kind of flow is not called directly by the app, but by a changing condition on the list. The flow then runs under the context of the flow creator. For example, you can give the app (and users) access to the list, and then use a separate flow to modify your Planner entries when that list experiences a particular change.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,080)