Deploying Logic App With SFTP-SSH API Connector via ARM Template Gives Unhelpful Error About Swagger

Marc-2577 96 Reputation points
2020-12-03T13:35:18.927+00:00

Hi,

I am attempting to deploy a Logic App via ARM Template via Azure DevOps Release Pipeline (ARM template deployment task). I'm using an ARM Template as well as a parameters file.

The deployment is successful, the Logic App and its API connections show up in Azure Portal, however in my Logic App's Web Designer, I have the same error for two of my components ("List files in folder" (SFTP-SSH) and "List blobs" (Azure Blob Storage)).

44787-image.png

Here's what it looks like when I create the Logic App using the Web Designer. This method works well, though the idea is that I would like to automate the creation of this Logic App in a Disaster Recovery scenario.

44901-image.png

I have tried understanding the error message, though I kept coming up empty after many searches online.

"List blobs" component

Swagger not found for connector '/subscriptions/xxxxxxxx/providers/Microsoft.Web/locations/South Central US/managedApis/azureblob'

"List files in folder" component

Swagger not found for connector '/subscriptions/xxxxxxxx/providers/Microsoft.Web/locations/South Central US/managedApis/sftpwithssh'

I really don't know what Swagger has to do with this Logic App API Connection.
I was hoping someone here could help.

Let me know if I can specify additional information that might help.

Thanks,
Marc

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
{count} votes

Answer accepted by question author
  1. Marc-2577 96 Reputation points
    2020-12-03T19:03:51.137+00:00

    I was able to make it work by recreating the Logic App in Visual Studio 2019 via a Logic App project, as described at the end of this article.

    https://medium.com/@Derekd _li/create-api-connection-via-arm-template-b018e8069808

    I deployed the ARM template via Azure DevOps Release Pipeline, and was able to create a brand new Logic App with new SFTP-SSH and Azure Blob API Connections.

    Not sure what the root cause was, however. Maybe this will help someone in the future.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. David Broggy 6,776 Reputation points MVP Volunteer Moderator
    2021-07-22T13:23:39.613+00:00

    With Marc's solution is it sounds like he had to recreate the entire logic app in VS.
    If you do that, then it's a push button solution since you can right click deploy to any tenant/resource group.

    But I don't think his suggestion is relevant to those of you who are trying to create a template like azuredeploy.json for the purpose of uploading to Github.

    I haven't found an alternative procedure for the one posted here (but I'm hoping I do..):

    https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks#instructions-for-templatizing-a-playbook

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.