Anders
Anders

Reputation: 11

API Management connector unusable in Logic Apps after management API upgrade

A message from Advisor told me that the management API for Azure API Management was to be upgraded to a newer version and a 'quick fix' button was included to help adjusting some parameters. As I thought everything was fine in my setup, I clicked the button and it failed due to some misconfigured firewall rules. I quickly fixed the rules and saw no more error messages when checking service status, so I was convinced the issue was done. Surprise, it wasn't...

After this, I can no longer use the API Management connector inside logic apps. If I try to create a new logic app, it gives me the error message below. If I try to edit an existing logic app, the API management blocks just show a message about not being accessible and I get an error message saying I cannot save any changes since swagger is not available.

This is the error message when using the connector in a new logic app: "API version query parameter is not specified or was specified incorrectly. Supported versions: 2021-08-01,2021-12-01-preview,2022-04-01-preview,2022-08-01,2022-09-01-preview,2023-03-01-preview,2023-05-01-preview,2023-09-01-preview Example query param format: api-version=SupportedVersion"

Everything else works fine and I have no problems calling API management by using the http connector. As I only work through the Azure Portal, I can't see what's causing this.

The API management instance is obviously now running on the new management API version and there's a policy set that won't allow older versions. The advisor message is still triggered when I try to access the APIM connector in a logic app, but the 'quick fix' button is gone.

I sadly have no idea whatsoever on where to even begin with this issue. Shouldn't the APIM logic app connector be automatically updated as well, or is there some manual action I have to perform? Please help..

Update: Screenshots of errors in Logic Apps

Modifying an existing Logic App

Adding a new Azure API Management connector #1

Adding a new Azure API Management connector #2

Upvotes: 1

Views: 842

Answers (1)

10p
10p

Reputation: 6686

2 options:

  1. Wait for Microsoft to fix the Azure API Management connector so that it works even after enforcing the minimum API version in the API Management service.

or

  1. Replace the Azure API Management actions in your workflows with HTTP actions.

Upvotes: 1

Related Questions