web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Canevas app with share...
Power Apps
Unanswered

Canevas app with sharepoint list, share connexion : service account with edit privilege and users with only read privilege

(0) ShareShare
ReportReport
Posted on by 15

Hi,

 

I have a canevas app in which users can modify items of a sharepoint list.  i dont want users  could modify  my sharepoint list directly in sharepoint site, but only within the app. Is it possible to do that  ? could  they use another sharepoint connexion (i.e service account connexion) that their own? how?

 

Thanks a lot for your help.

 

 

 

 

 

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @FrancoGui 

    You cannot create a "service account" connector for SharePoint as that connector passes through the user credentials to the SharePoint list.

     

    The only way you can emulate this is to utilize PowerAutomate.  It's ugly because you would need to have a common list that all users have access to.  Your flow would trigger whenever there is a change in that list.  It would then pick up the info from the shared list and put it in the restricted list...and then remove from the shared list.

    Because the flow would not be "called" from the app, it would run under the connector definition made in PowerAutomate (i.e. your service account).

     

    Warning though...this can get ugly quickly because your app is not longer "in-sync" with the main restricted list, and you would need to perform Refresh statements often to resync.  

     

    So...you might want to consider the nature of not allowing edit control on the primary list and see if there are other options for you to explore.

     

    I hope this is helpful for you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard