I've built this flow several months ago that has been working reliably for most users until this morning. The flow is triggered from a PowerApps which then executes a stored procedure in SQL and then takes that data and populates a Word Template (there's a lot more going on there but that's the short version). It's at this step where I get the error message:
{
"status": 400,
"message": "There was an error accessing the file. Please try again or select a different file.\r\nclientRequestId: aa5c4803-1e45-444a-bd98-6cdd599a95e9",
"error": {
"message": "There was an error accessing the file. Please try again or select a different file."
},
"source": "wordonlinebusiness-wus.azconn-wus-01.p.azurewebsites.net"
}
What's strange is that there are a few users that are not admins but are able to run the flow without any issues. And the users that are having issues were able to run this same process as recently as last week.
Could this be tied to a user setting? Perhaps something related to MFA?
EDIT: Another variation I'm seeing in on a different step where the output of the Populate a Word Template is used to Create a File in SharePoint. On that step, the error message is as follows:
{
"status": 401,
"message": "Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and sharepointonline is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: sharepointonlinecertificatev2. Correlation Id=7349c940-694e-48a5-88ea-a137fc06868e, UTC TimeStamp=11/29/2021 8:02:00 PM, Error: Failed to acquire token from AAD: {\"error\":\"interaction_required\",\"error_description\":\"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'.\\r\\nTrace ID: d26d294f-0960-4c5a-b202-b3684c8b9d01\\r\\nCorrelation ID: 2b5ce48f-2b49-418b-b3ce-6c48496f9b60\\r\\nTimestamp: 2021-11-29 20:02:00Z\",\"error_codes\":[50076],\"timestamp\":\"2021-11-29 20:02:00Z\",\"trace_id\":\"d26d294f-0960-4c5a-b202-b3684c8b9d01\",\"correlation_id\":\"2b5ce48f-2b49-418b-b3ce-6c48496f9b60\",\"error_uri\":\"https://login.windows.net/error?code=50076\",\"suberror\":\"basic_action\"}']" }