Azure APIM APIOps

Alex 495 Reputation points
2025-04-09T15:02:10.5133333+00:00

Hello,

I am trying to run the APIOps toolkit locally without configuring Azure DevOps / GitHub Actions by following this doc - https://azure.github.io/apiops/apiops/3-apimTools/apiops-2-1-tools-extractor.html

The Extractor works fine - I was able to extract the full set of API configuration from dev APIM.

Using that artifacts, I am trying to run the Publisher.exe with Staging resource environment variables, but it doesn't publish anything.

Would like to understand what I am missing here.

Env variables set for both extractor/publisher were,

AZURE_SUBSCRIPTION_ID = "<same-sub-as-dev-stage>"

AZURE_RESOURCE_GROUP_NAME = "<dev-for-extractor & stage-for-publisher>"

API_MANAGEMENT_SERVICE_NAME = "<dev-for-extractor & stage-for-publisher>"

API_MANAGEMENT_SERVICE_OUTPUT_FOLDER_PATH = "<artifacts populated by extractor is passed as input to publisher>

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

1 answer

Sort by: Most helpful
  1. Shireesha Eeraboina 3,435 Reputation points Microsoft External Staff Moderator
    2025-04-10T08:07:24.5033333+00:00

    Hi Alex,

    it sounds like the issue might be with the environment variable setup or the file path used in Publisher.exe.

    Please make sure the AZURE_RESOURCE_GROUP_NAME and API_MANAGEMENT_SERVICE_NAME are set for the staging environment, and that API_MANAGEMENT_SERVICE_OUTPUT_FOLDER_PATH correctly points to the folder generated by the extractor.

    Also, check if any required environment variables are missing and review the logs for any helpful error messages.

    You can find more details in the APIOps Publisher documentation and Extract APIM artifacts in Azure DevOps from extractor tool.

    For your reference, please review the following documentation for further clarification:

    I hope this addresses your query. Please let me know if you need any further assistance or clarification.

    0 comments No comments

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.