Hi @creativeopinion
Thanks so much for the detailed response!
In summary, the intent of the flow is:
- RECURRENCE/LIST FILES IN FOLDER/APPLY TO EACH
- Delete existing files in folder
- Users want to see only the most recent version
- (thank you for the note re:files/folders – for this purpose it is okay if any+all content is deleted but will keep the super helpful troubleshooting tips in mind)
- INITIALIZE VARIABLE/APPLY TO EACH 3
- Create Array Variable to cycle through different parameters during report export
- EXPORT TO FILE FOR PAGINATED REPORTS
- Reference variable created in Step 2 to export file as xls or pdf
- CREATE FILE
- Create file in Sharepoint
I tried removing the ParameterValues specification in Step 3 and the process is still failing – our data engineer says that he suspects the core issue is at one of the connection pathway
A separate, simplified Flow that just deletes prior files before exporting a paginated report DOES work but that report only uses a Power BI dataset whereas this troublemaker report also directly queries SQL.
If I delete out the parameter portions of this Flow, I get the error message:
“Effective identity on Azure SQL datasources with SSO enabled requires access token to be provided”
{
"statusCode": 400,
"headers": {
"Cache-Control": "no-store, must-revalidate, no-cache",
"Pragma": "no-cache",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Frame-Options": "DENY",
"X-Content-Type-Options": "nosniff",
"RequestId": "5d09d06b-da33-4324-b641-f898d064dae9",
"Access-Control-Expose-Headers": "RequestId",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "false",
"Date": "Mon, 23 Oct 2023 15:42:00 GMT",
"Content-Length": "170",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": "InvalidRequest",
"message": "Effective identity on Azure SQL datasources with SSO enabled requires access token to be provided"
}
}
}

These are the connectors we are using and I’ve already re-signed in to everything multiple times
@grantjenkins thank you for the note re: missing text property. Filled in some blank entries and will see if that fixes once our data warehouse refreshes tomorrow morning.
