I have a powerapp that exports gallery data using filters via an export button. the button calls a flow that looks like this
the flow creates a table in an excel file in the users onedrive folder. the template has been placed on sharepoint just for ease of access but the flow fails on the table creation stage even though the file has been created in the users one drive home folder. I am therefore puzzled about it being an access denied error.
the steps in question are here:
the error is:
The request is forbidden by Graph API. Error code is 'accessDenied'. Error message is 'Access denied'.
clientRequestId: 1805012e-895f-45d6-88fe-a2e7e4f8b2cb
serviceRequestId: 324dab5f-30cd-4bc2-b8c0-33e14ca318b9.
and the flow works when i test it from the app with my ( the creators) account.
Any assistance would be appreciated. thanks