[Azure API Management] API definitions missing, but APIs still functional

Gustavo Fechine 0 Reputation points
2023-10-06T15:00:24.2133333+00:00

Today, I attempted to add more endpoints to one of my APIs to make it publicly accessible through API Management. To my surprise, I discovered that all the API definitions in the API Management had vanished in the Azure Portal. About a month ago, all of them were present and editable. Now, every API I added to API Management seems to have disappeared without any apparent reason.

User's image

User's image

The silver lining is that the previously established definitions are functioning correctly. They continue to redirect requests to my internal API as expected; it's only the definitions within Azure Portal that have disappeared.

I'm uncertain about how to access the definitions through alternative methods, and it's crucial for me to view the existing definitions in order to make edits. I'm concerned that if I were to add a new API to API Management, I might inadvertently overwrite my existing work, potentially rendering my service unavailable.

Has anyone else experienced a similar issue? And does anyone know how to resolve this?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 27,540 Reputation points Microsoft Employee Moderator
    2023-10-09T06:04:45.17+00:00

    @Gustavo Fechine Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    I understand that you are experiencing an issue with your API definitions disappearing from Azure API Management in the Azure Portal.

    You have confirmed that the previously established definitions are still functioning correctly and continue to redirect requests to your internal API as expected. It's only the definitions within the Azure Portal that have disappeared.

    In the past, we have observed similar issue being reported. The below action plans had resolved the issue.

    Action Plan:

    1. Please try to clear the browser cache and Open the Azure portal in Private / incognito mode and check if it loads the APIs.
    2. Please check if there are any firewalls / proxy within your corporate network.
    3. Please try accessing the APIM management portal from completely different network and check.

    To access the definitions through alternative methods, you can use the below approach:

    1. Using Azure CLI: az apim api list This CLi command helps to List API Management API's. More Info here.
    2. Using REST APIs: You can simply click on the TryIT option available here to invoke the Apis - List By Service REST API. This Lists all APIs of the API Management service instance.
    3. Azure Powershell: You can run the Get-AzApiManagementApi PS cmdlet to gets all of the APIs for the specified context. More Info here.

    You can manage the APIs using the same above alternative methods like CLI, REST APIs and Powershell.

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    **

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

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