cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Justin
Level: Powered On

there is no data when another account use the app which was shared by me

I created a app with template employee enagement survey, run the app , no problem.

then share to another account, use another account login , however,   found no related data in it after open the sharing app.

 

I also shared the excel data to another account through my one drive, but still not work.

 

BTW, how to get the data result if my colleague fill the survey successful (as the excel data was saved in his cloud account, need he email the data file to me? or I can check his survey result in my cloud drive directly? If yes, will be more convenient )

 

shared the power app folder to another account

2016-11-03 09_03_53-Files - OneDrive.png2016-11-03 09_04_24-testdsmw787-w7v - Remote Desktop Connection.png2016-11-03 09_05_02-testdsmw787-w7v - Remote Desktop Connection.png

 

2016-11-02 18_20_23-Microsoft PowerApps.png2016-11-02 18_20_45-Microsoft PowerApps.png2016-11-02 18_23_18-Microsoft PowerApps.png

 

2016-11-02 18_22_06-testdsmw787-w7v - Remote Desktop Connection.png2016-11-02 18_22_51-testdsmw787-w7v - Remote Desktop Connection.png

 

 

But in my app, I can see no problem.

2016-11-03 09_12_03-liangju-w10 - Remote Desktop Connection.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: there is no data when another account use the app which was shared by me

Hi Justin,

 

According to your description, I create an App from the Employee Engagement Survey template then share it to another account with User permission.

ShareApp.PNG

 

The Excel file is saved in OneDrive. Without sharing the Excel file to shared user, I get the same issue with you, no data is shown when I open the shared App. Then I try to share the Excel file for a test, after sharing the Excel file, the data is shown.

 

What is the account being used in your OneDrive connection? Please make sure you share the Excel file to the OneDrive connection account but not the PowerApps sign in account.

Excel share.PNG

 

Please try if this work after you shared the Excel with proper connection account. Please let me know if this works for you.

 

Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Community Support Team
Community Support Team

Re: there is no data when another account use the app which was shared by me

Hi Justin,

 

When I create an App from template, I select OneDrive to place the Excel file. And the file would be saved in the default PowerApps folder in my account in Files>PowerApps>Templates, a screenshot as below:

share excel1.PNG

 

Then I share the Excel file to shared user’s OneDrive account. In the shared OneDrive account, the file would be saved in Shared folder.

share excel2.PNG

 

 

Then I share the App to another group account, and when I open the App in the shared account, I switch the OneDrive connection to the account I just shared the Excel with. All the data can be shown in the App. When shared user edit the App and save data, the data would be shown on the Response sheet on the Excel file on both my account and shared account.

share excel3.PNG


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

12 REPLIES 12
Community Support Team
Community Support Team

Re: there is no data when another account use the app which was shared by me

Hi Justin,

 

According to your description, I create an App from the Employee Engagement Survey template then share it to another account with User permission.

ShareApp.PNG

 

The Excel file is saved in OneDrive. Without sharing the Excel file to shared user, I get the same issue with you, no data is shown when I open the shared App. Then I try to share the Excel file for a test, after sharing the Excel file, the data is shown.

 

What is the account being used in your OneDrive connection? Please make sure you share the Excel file to the OneDrive connection account but not the PowerApps sign in account.

Excel share.PNG

 

Please try if this work after you shared the Excel with proper connection account. Please let me know if this works for you.

 

Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Justin
Level: Powered On

Re: there is no data when another account use the app which was shared by me

I shared the data excel from my one drive to another account's one drive.

but found the file is not in default powerapp folder, it is in shared with file tab.

Do you do copy the data file to defualt folder ? as generally when you create app, it will generate a data excel file in defult folder. but there is not in it now, then is it related when I run the app in another account , no data in it?

 

2016-11-07 18_17_19-Files - OneDrive33.png

2016-11-07 18_03_18-Templates - OneDrive2.png

 

 

found the data file is in shared with me

 

2016-11-07 18_02_55-Shared with me - OneDrive22.png

 

2016-11-07 18_12_52-EmployeeEngagementSurvey_d8a5b87f-9963-528c-0a9a-2f39343308fb - OneDrive.png

Community Support Team
Community Support Team

Re: there is no data when another account use the app which was shared by me

Hi Justin,

 

When I create an App from template, I select OneDrive to place the Excel file. And the file would be saved in the default PowerApps folder in my account in Files>PowerApps>Templates, a screenshot as below:

share excel1.PNG

 

Then I share the Excel file to shared user’s OneDrive account. In the shared OneDrive account, the file would be saved in Shared folder.

share excel2.PNG

 

 

Then I share the App to another group account, and when I open the App in the shared account, I switch the OneDrive connection to the account I just shared the Excel with. All the data can be shown in the App. When shared user edit the App and save data, the data would be shown on the Response sheet on the Excel file on both my account and shared account.

share excel3.PNG


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

dpreston
Level: Power Up

Re: there is no data when another account use the app which was shared by me

When I run the Engagement Survey PowerApp under my account, the survey response writes to the data.xlsx and I'm able to view later. However, users that I've shared the PowerApp with are unable to save their response to the data.xlsx. The data.xlsx stored under my OneDrive for Business account is shared out with Edit permissions.

 

Any suggestions how to fix this?

 

Thanks

Community Support Team
Community Support Team

Re: there is no data when another account use the app which was shared by me

Hi @Justin@dpreston,

 

Recently, I have seen several related issue about this, when using the connection with OneDrive for Business, shared user cannot create, update, delete though with the Edit permission level on both app and data source.

 

I have already reported this from my side, I guess PGs are working on this.

 

As a temporary workaround, may I suggest you use OneDrive? This connection works properly on shared user.

 

Thanks for your patience. I will update you once I get any useful information.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
emegrant
Level: Powered On

Re: there is no data when another account use the app which was shared by me

Hi,

 

I have tried twice to get this app to work with no luck.

 

The app is created ok, the data file is created on my OneDrive for business, but no data is ever saved to it.

 

I run through the app from beginning to end, close the app and check the excel file.  It is still unchanged.  It appears that nothing is ever written to the Responses tab of the Excel file.  I have refreshed the data connection and the App will read changes I make to the questions, but no responses are ever added.

 

I added a quick display label to see if the app saw my user name, it does.

 

I have not shared this app with anyone else yet because it doesn't save any of my inputs.

 

Looking for ways to see what is happening or a good fix.

 

Thanks.

 

Ed

Anonymous
Not applicable

Re: there is no data when another account use the app which was shared by me

I have the exact same problem as emegrant. 

 

Edit:

Errors(Response) returns no errors (checked with IsEmpty) and yet there is no record added, tested with two different users. No errors are shown during testing and users have read and write access to the excel file and yet there is only one record in Responses where each column entry is "test".

 

Submit button code:patchCode.PNG

 

 

 

 

Excel file:excelfile.PNG

 

 

 

 

Anonymous
Not applicable

Re: there is no data when another account use the app which was shared by me

I solved the above issue by changing data source to a Sharepoint list instead of excel file. The same code manages to push data to the Sharepoint list. However the LookUp(<SPLIST>; Title = User().UserName; <SPLIST>) always returns false even though the Title column is already populated by "Title: User().UserName" so the values should be identical. "Title" is the field name of the column (I've made sure by checking the url) but I've also tried using the display name and it also does not work.

emegrant
Level: Powered On

Re: there is no data when another account use the app which was shared by me

Hi again,

 

I have also stumbled on a partial fix.  The last step of Question 5 where you click on the Next button is supposed to populate the spreadsheet with your data and User Name.  As it is, it does not.

 

If you remove the "!" from the first group of statements it will populate correctly.  However, if the same user re-runs the survey, it will now save an additional entry because it is no longer checking for that user to overwrite their answers.

So, only a partial win.

 

Also important, don't forget to share (both read and write) the Excel file or the end user will get a nasty error.

 

Ed

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,867)