2,652 questions
-2
votes
1
answer
181
views
Temporarily block IPs that are scanning my API in Azure's APIM
I am trying to block scans targeting my website, e.g., requests that end in /.env
The requests go through Azure FD to a Node.js server to APIM then to my BE server. In the Azure API-Management level, ...
Advice
0
votes
0
replies
23
views
Using Custom CSS for widgets like API List, Operation List, Operation Details
Is there a way to use our own custom CSS or override existing ones while customizing the developer portal? The current Style customization is very limited to basic elements. E.g., if I want to display ...
2
votes
0
answers
63
views
Azure APIM managed developer portal "Try It" intermittently shows empty request body with $ref schema (OpenAPI 3.0.1)
We are experiencing an intermittent issue with the Azure API Management managed developer portal where the "Try It" console sometimes fails to preload the request body with example data. The ...
Advice
0
votes
2
replies
137
views
How to access MCP server running in azure Kubernetes service
I am developing MCP servers for an external service. The MCP server is written with Spring Boot AI framework for Java. I have been deploying APIs to Azure Kubernetes service (AKS) and access them with ...
0
votes
0
answers
68
views
Return response set-body on error to construct a JSON response does not work
Here is my policy statement. I need to construct and return a JSON response upon <on-error>. I tried using a liquid template and string interpolation. Nothing worked.
<policies>
<...
1
vote
1
answer
70
views
Azure API Management delegation signature fails for ChangeProfile operation
I am using Azure API Management with delegation, and I can successfully validate the signature for all operations except ChangeProfile.
I am following this documentation:
https://learn.microsoft.com/...
0
votes
0
answers
50
views
How to configure Azure APIM dynamic routing and header rewrite for Document Intelligence containers in private AKS with Istio?
I am deploying multiple Azure AI Document Intelligence (v4.0) containers (Layout, Invoice, ID, etc.) into a private AKS cluster. I have Istio enabled as the service mesh and Azure API Management (APIM)...
0
votes
2
answers
301
views
Azure DevOps Pipeline Error: "A supported task execution handler was not found" on Windows for Azure APIM Task
I'm running an Azure DevOps pipeline that uses the "Azure API Management API Utility" task (from the Azure API Management DevOps Marketplace) to deploy APIs.
The pipeline fails with the ...
0
votes
1
answer
222
views
Need help to escape these special characters in Azure APIM policy
I am using the pattern below for accessing authorization tokens from my backend data source. This works fine until I have one of the values in the body containing special characters like (, <, and/...
0
votes
1
answer
143
views
Set authorization header with token returns "Expression evaluation failed. Object reference not set to an instance of an object."
I retrieved a token (confirmed by setting a variable to the response-variable-name tokenResponse; it shows in the trace and I get a 200 OK) in my APIM Policy and now need to set the authorization ...
Advice
0
votes
0
replies
47
views
Azure API Management Custom SignUp Field
I am looking to add a custom signup field in Azure API Management but not able to figure it out where and which place.
Things i want to do:
I have a set of apis i want to expose via API-M
I want to ...
0
votes
1
answer
204
views
How to use OAuth 2.0 authorization server in API Management for all APIs? Not just the Dev portal's Test Console?
All,
I had to re-write this post since there has been significant changes in the requirements.
The objective is to invoke Auth0 management APIs such as
/v2/users
/userinfo
etc..
through APIM.
This ...
-1
votes
1
answer
131
views
Which permission to list subscription on Azure tenant?
I want to read all subscription on my Azure tenant.
https://learn.microsoft.com/en-us/graph/api/subscription-list gives a list of scopes/permissions. list requires Sites.ReadWrite.All on the endpoint ...
0
votes
0
answers
91
views
How do I access the Tags collection in Azure APIM policies?
On an API global policy for Azure APIM, for an API with a specific tag, I need to allow access to users only if they come from some IP ranges:
<inbound>
<base />
<choose>
...
0
votes
0
answers
97
views
Export Azure APIM's API swagger to JSON format
I am managing an Azure APIM where developers creates API with CI/CD and swagger files, we accept both YAML and JSON format.
In a report, I want to include a link to download a JSON format of the ...