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 / XLS Datasource on OneD...
Power Apps
Unanswered

XLS Datasource on OneDrive - No Access for other people

(2) ShareShare
ReportReport
Posted on by 14

Hello all,

 

I created my first PowerApp that uses Excel as a datasource. The Excel file is located on my (company) OneDrive.

I explicitely shared the Excel file with the people with who I also shared the PowerApp.

 

Unfortunately when the others try to save an entry, they get an error if it is running in one of the PowerApps app or when they run it though a web browser, they return into an empty screen.

 

I guess there's a security issue. What can I do about it?

 

Note :the powerapp uses the feature to upload an image. The images are stored in a subfolder of the folder where the main Excel file is stored. I also shared that folder with the users.

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Dimi72,

     

    Could you provide information about:
    1. What error message did the shared users get when they editing the App?
    2. What permission level did you specify when you share the App?
    3. Did you share the Excel file to your shared users with Can Edit permission?

     

    I created an App based on an Excel file which is saved in OneDrive. The steps I did to share the App is:
    1. Create and save the App, share the App and specify the level of permission as User.
    This article would be a reference for you:
    https://powerapps.microsoft.com/en-us/tutorials/share-app/
    2. Share the Excel file to Shared users and specify the permission level to “Can edit”. Share the Excel file to the OneDrive connection account but not the PowerApps account.
    This article could be a reference for you:
    https://powerapps.microsoft.com/en-us/tutorials/share-app-data/

    share excel.PNG

    Then shared users can run and edit the App on both PowerApps studio for Windows and Web player with no error message. Please try again to see if my steps work for you.

     

    Best regards,
    Mabel Mao

  • Dimi72 Profile Picture
    14 on at

    Hello Mabel,

     

    To share the app, I gave the users 'User' access level.

    I gave the same people 'Can Edit' to the Excel file on my OneDrive. And I also shared the folder with the images that Excel automatically generates, also for the same users, with 'Can Edit' access.

     

    In my pictures : first the error, then all the settings:

     

    Error Cannot write file to filesource.pngApp Sharing (2).png

    XLS Sharing.png

    Image folder sharing.png

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Dimi72,

     

    It seems that there is no problem with the steps. Please make sure the Excel file is closed when editing the App.

     

    If you still get the issue, please feel free reply.

     

    Best regards,
    Mabel Mao

  • Dimi72 Profile Picture
    14 on at

    Hi Mabel,

     

    I still have the problem. I tried the same on a new excel datasource with only two columns and no pictures, and there too I had the problem. The users can go to the Excel file on my OneDrive and modify it there, but when they create an entry through the powerapp it's not being saved.

     

    Could it be related to organisational settings for OnDrive ?

     

    Best regards,

     

    Dominiek.

  • audrieFCT Profile Picture
    987 on at

    @Dimi72 Could I please ask you to try and remove the connection from within the PowerApp, then add the connection back. (This will briefly show warning messages in the app, but as long as the replaced connection has the same table name in XL - they will resolve.) Side Point: Please have the users double check that they are signed in with the account you used to share the file with them. Tip: If something goes awry during troubleshooting you can always restore to the previous version (web designer), or you can make a copy first if you feel more comfortable doing that.

     

    I'm watching this post to see if that resolves your issue. If not, we'll continue to troubleshoot with you until we find out the catch.

     

    Note: I assume you were using the OneDrive for Business connection too, right?

     

    Thank you for your patience,

    Audrie

  • GerryWhitworth Profile Picture
    32 on at

    I am having the same problem.

     

    The app runs fine for me but others in the organization can not see data.  We get the same error message posted above.

     

    Thanks 

    Gerry

  • Dimi72 Profile Picture
    14 on at

    Hello Audrie,

     

    I'm sorry, still no success. These are the answers to your questions:

    Removing the connection and restoring it didn't work.

    The users are using the correct logins.

    And the xlsx file is shared with the same users (Edit) - the users can edit the xlsx on Onedrive.

    The file is located on OneDrive for Business.

     

    I was wondering whether there could be any blocking issue on a higher level. Our team doesn't have access to the O365 Admin Portal. Could any setting be blocking this there?

     

    Currently we've abandoned PowerApps in favour of a Teams app, but I can do some more tests if you like.

     

    Thanks!

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Dimi72,

     

    Do your shared users have a subscription of OneDrive for Business? As you have shared the Excel file with shared users with “Can edit” permission, can they edit the Excel file on their account?

     

    Please also try to ask for an access to Office 365 Admin center to see if it works.

     

    Best regards,
    Mabel Mao

  • audrieFCT Profile Picture
    987 on at
    Thank you all for answering my questions. I will also test to see if I can repro this in my own environment by using various license options. (I am a tenant admin so I can set up a few different subscriptions for testing.) I am also going to test with the Excel file in a folder that is shared rather than just the file share option to see if that might make a difference in any way.

    Sorry for the delay but I will post results shortly...

    Thank you for your patience,
    Audrie

    P.S. Would you mind confirming your version number and the versions of the users unable to edit the file using the PowerApp? Also, thank you for confirming that they can edit the file manually without using the app. It was a very good idea to test that in this scenario :).
  • audrieFCT Profile Picture
    987 on at

    FYI: I was able to repro the issue. I discovered a few interesting things...

     

     

    Question: 

    Can your users validate if they got this message (with your domain) when opening the app?

    allow.PNG

     

    Sometimes I'm getting this which I am able to resolve using the "Fix it" link - but I'm wondering if they are seeing that too:

     

    fix it.PNG

     

    You might want to try this and request screen shots from users....

    I put a text box at the top of the app with the text property of: "Num Rows Connected: " & CountRows(xlTableName)

    and I colored it red so it would standout out at the top of the app when the users ran it - that way we could ask them for screen shots.

     

    When I run it, the row count is correct (6 items), but when my user (who I shared with like you did) jsand runs it, she gets "0" as shown below. Because of this, I am going to loop back with the partner advisors on this, and I will post an update as soon as possible.

     

    connection.PNG

     

    As you did, I also confirmed that jsand is able to edit the XL file manually using a link to the file.

     

    editedbyjsand.PNG

     

    Sorry for the delay in response.

     

    Audrie

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard