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.
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:
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:
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.
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:
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.
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 ?
@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,
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.
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.
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.
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!