We have a document management system and have several workflows attached. One of these workflows removes document consultation permissions and advises the document owner by email that the consultation period has ended.
Over the past 28 days the workflow has failed 7 times with the below error, this is at the point of sending the email to the document owner:
Error from token exchange: Connection europe-001/logicflows/80b621e0-e8ab-49de-a293-fac8cd33a5df@https://europe-001.azure-apim.net/ is not allowed to access connection europe-001/office365/shared-office365-d861826f-c4d7-4215-8f0d-d0f02ecc88b6
The timing is random, no pattern and if the error'd run is resubmitted, it runs successfully.
Has anyone come across this error before? I have googled it but cannot find anything useful.