Hello,
I have a flow that ends by sending an email. Occasionally, with no real pattern discernable, the flow fails at the email step with the error message "Unauthorized" and the following message in the response:
"body": {
"status": 400,
"source": "https://unitedstates-002.consent.azure-apim.net:443/api/tokens/exchange?api-version=2015-11-01-preview",
"message": "Failed to retrieve token for resource=https://outlook.office365.com. Message=An internal error occurred.\r\n"
}
The email is simply a message with a link to a document. No attachments.
Has anyone run into this issue in the past? If so, any workarounds? Is it possible to continue trying to send the email should the unauthorized error occur? This seems to be an issue on the office 365 side of things rather than an issue in my flow.
Thanks for any advice.
Dan