This post was most recently updated on January 3rd, 2022.2 min read.
This article explains one possible fix to “LinkedAuthorizationFailed” when you’re deploying a Logic App from an Azure Automation template. Maybe it’ll apply to other cases, too – but in my case, it helped me fix a broken template I had exported from Power Automate and was bringing into Logic Apps.
So, another fun issue to solve!
The actual error you run into might be something along these lines:
The client has permission to perform action 'Microsoft.Logic/integrationAccounts/join/action' on scope '/subscriptions/[your subscription id here]/resourcegroups/[your app resource group name here]/providers/Microsoft.Logic/workflows/[your logic app name here]', however the current tenant '[your AAD tenant id here]' is not authorized to access linked subscription '[this came from Flow]'.
I was using the same account to export the Flow JSON template from Power Automate and importing the file to Azure Logic Apps, but this did not help.
Anyway – while this might be caused by yet another mismatch of stuff between Power Automate / Flow and Azure Logic Apps, integration accounts ARE an actual thing in Logic Apps. If you KNOW you use and need them, this solution might need some tweaking for you!
Anyway – what DID I do then, to fix the issue?
Time needed: 15 minutes.
Fixing “LinkedAuthorizationFailed” when deploying a Logic App
- Open your template
Open your template file in a proper text editor, such as Visual Studio Code or Notepad++.
- Remove the unnecessary hocus-pocus stuff
Find this part in your template:
(in case WordPress breaks the zooming in functionality, it’ll look something like this):
And remove it.
Reupload your template and re-try – you’re either good, or you’ll get a new error message :)
Let me know whether it worked or if I broke it even more. :)
- How to import an Azure DevOps Git repository… From another Azure DevOps organization? - September 27, 2022
- How to fix NU3028 and NU3037 errors in Azure DevOps builds? - September 20, 2022
- How to kill the process causing the “MSB3021 Unable to copy file — The process cannot access the file because it is being used by another process.” error? - September 13, 2022