
Hi everyone,
I have a requirement whereby when onAddFile to a File input, it should get uploaded to a SharePoint/OneDrive folder. However, to upload into that folder, it needs to be of a different user account.
Situation:
- My PowerApp will have external users/visitors uploading files to my SharePoint/OneDrive but they should not have access to the SharePoint/OneDrive folder. Thus, would like the users to be logged in as external users/stay as non-logged in visitors, and upload files to my SharePoint/OneDrive.
Is there a way that I can be logged into my Power Apps as User A, but upload to the SharePoint/OneDrive folder when adding a file to the File input and thus uploading to that SharePoint/OneDrive folder?
Many thanks in advance.
Hi @Anonymous ,
Best practice is to call flow in canvas.
Although user A submits the file, you are the creator in the database.
You don't need to give userA any permission to access the database.
Best Regards,
Wearsky