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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Sharing the database
Power Apps
Answered

Sharing the database

(0) ShareShare
ReportReport
Posted on by 20

Hi All,

[this Q may well need well be for the OneDrive forums, not sure]

 

I have created two apps. The database for each app is an excel file in my OneDrive for Business.

 

The problem is that by sharing the excel files with some of the people in my organisation with the default Edit permissions (so that they can write on it when using the app) they are also granted the permission to delete the file/database. Indeed on the first day or publishing the app, one meber of staff deleted the files.

 

I searched online but I cannot seem to find a solution.

 

So the question is:

1. is there a way to share the databases/excel files in a way that people can view and write but not be able to delete the files?

2. if not, are there any alternative routes?

 

Many thanks in advance.

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @YA

     

    Unfortunately there is no solution for OneDrive, you will have to give full rights to anyone who will need to access that excel file.

     

    Here is the idea to seperate files and users so that they do not have full rights on the file: Removing user ability to access data source without using the app

     

    For increased security you can use SQL database and non-default environment.

     

     

     

  • YA Profile Picture
    20 on at

     @Anonymous

     

    Many thanks for your reply and the useful link. It is much appreciated.

     

  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @YA,

     

    I'm afraid that this cannot be achieved. With edit permission, it means that you could view, edit and delete the file. And there is only 2 kinds of permission while sharing files on OneDrive for Business, one is edit and one is only view.

     

    Also, this forum is for PowerApps issue communication, for OneDrive for Business issue, please post in below forum:

    https://techcommunity.microsoft.com/t5/OneDrive-for-Business/ct-p/OneDriveforBusiness

     

    Regards,

    Mona

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard