Press "Enter" to skip to content

Fix the “Request to Azure Resource Manager failed with error:” in Power Automate

If you use Flow a lot you will undoubtedly have encountered this error message when updating an existing Flow: InvalidTemplate. Unable to process template language expressions in action

We have previously published this post on how to fix this issue: Fix the “InvalidTemplate. Unable to process template language expressions in action” error in Power Automate

There is now a new variation of this error message! Again, this issue is not specific to the Encodian connector, it affects all connectors in Power Automate:

Request to Azure Resource Manager failed with error: '{"error":{"code":"InvokerConnectionOverrideFailed","message":"Could not find any valid connection for connection reference name 'shared_onedriveforbusiness' in APIM tokens header."}}'.
Request to Azure Resource Manager failed with error: '{"error":{"code":"InvokerConnectionOverrideFailed","message":"Could not find any valid connection for connection reference name 'shared_encodiandocumentmanager_1' in APIM tokens header."}}'.

And for completeness a screen shot:

This error is not caused by an issue with the action or the configuration of the action… in short the Flow is corrupt.

Fortunately fixing the issue is super simple, use the ‘Save As’ feature to save your corrupt Flow as new Flow, this process should fix the broken connections.

If this issue is affecting a PowerApp connected Flow then you may wish to simply disassociate and then re-associate the Flow which typically fixes the issue without needing to create a new flow using the ‘Save As‘ feature.

We hope this helps solve your issue 🙂

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *