Questions tagged [azure-api-management]

Azure API Management is a cloud hosted service that can add many capabilities to an existing HTTP API on any platform. This includes functions related to security, API key management, caching, documentation, and many other cross cutting policies.

For more info, see http://azure.microsoft.com/apim.

2365 questions
12
votes
1 answer

Azure API management keys

I am working with Azure API Management and wondering what is the difference between primary and secondary subscription keys. I can access the API using both so, what is the exact difference?
Akshay
  • 530
  • 7
  • 20
11
votes
4 answers

Is there a way to programmatically restart an azure function

I have an Azure function running on a timer every few minutes that after a varied amount of time of running will begin to fail every time it runs because of an external API and hitting the restart button manually in the azure portal fixes the…
Aurelius
  • 178
  • 1
  • 1
  • 14
11
votes
4 answers

No Traces in Azure API Response

The Flag Ocp-Apim-Tracehas been set to true. The API Response displays this information under the Trace Tab: Trace location was not specified in the response or trace log is not available. Yet no traces are available. How does one resolve this?
10
votes
1 answer

Azure APIM "rewrite-uri" policy - How to remove the URL suffix?

I have a requirement where I have the Azure APIM public facing URL - https://api.example.com/api/v1/storenumber/ordernumber And Back-end service URL (Notice - There is no URL path suffix here) - https://back-end.service.com So I need to remove…
10
votes
2 answers

Azure API Management Template parameters used in the UriTemplate must be defined in the Operation, and vice-versa

I have a number of Azure functions, that I would like to now put Azure API Management in front of. I have imported all the functions from 2 or 3 of my other function apps in my account with no issues, but I am having issues with one of the function…
10
votes
3 answers

Policy rewrite-uri To Append Context Variable in Azure APIM

What is the approach to a simple append to the url of a context variable such as context.Variables["accountKey"] during a policy rewrite? The end result should be /accounts/232. I have success earlier in setting it set-variable (0.003 ms) { …
ΩmegaMan
  • 29,542
  • 12
  • 100
  • 122
10
votes
3 answers

Does Azure API Management include WAF functionality?

I'm trying to understand whether the Azure API Management suite includes any WAF functionality (as described by OWASP for example) within its Security or Policy settings. If "no" or "don't" know does it make sense to front public-facing APIs (that…
Bex Bissell
  • 101
  • 1
  • 4
9
votes
2 answers

Can Azure Api Management expose OpenAPI documentation?

We have some Azure Functions exposed through Api Management? Can Api Management expose a /swagger endpoint automatically, the same way the Swashbuckle package does for api's in Asp.Net.
Mathias Rönnlund
  • 4,078
  • 7
  • 43
  • 96
9
votes
2 answers

How to use Let's Encrypt with Azure's API Management

I have began developing by microservices architecture utilizing Azure's API management service as the reverse proxy. To provide custom URLs for the API management, you must specify a URL + include a certificate. I understand that there is a manual…
9
votes
1 answer

Adding Applications programmatically in Azure AD using Client Credentials Flow

For use with the Azure API Management, I am trying to add Applications to an Azure Active Directory (AAD) programmatically, in my case by using the Graph API. My scenario is the following: In order to secure a Web API I want to manage with Azure API…
donmartin
  • 1,753
  • 2
  • 15
  • 30
9
votes
4 answers

Can I run SignalR hub through Azure API Management?

I have the same question as this guy: can I run my SignalR hub through the Azure API management service? I cannot seem to configure it in the service: it only allows me to forward HTTP/HTTPS traffic. That matches the answer of the person in the…
Jochen van Wylick
  • 5,303
  • 4
  • 42
  • 64
8
votes
1 answer

Preserve Client IP address in Azure API Management with Application Gateway scenario

I have Azure Application Gateway and API Management configured in this setup https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-integrate-internal-vnet-appgateway - Application Gateway is the public endpoint and only defined…
Kai Walter
  • 3,485
  • 2
  • 32
  • 62
8
votes
2 answers

API management service ClientConnectionFailure at forward-request

I have a Azure function calling Service fabric API using HttpClient API exposed in API management service. But the API management service logs shows that the API call failed with the problem ID "ClientConnectionFailure at forward-request". On the…
PNDev
  • 590
  • 1
  • 8
  • 23
8
votes
1 answer

CosmosDb with DocumentDB API through Azure API Management

I am attempting to query my new CosmosDB collection through API management. Once proved out, this will be a front-end for user access to logged data. For that reason, I have the data partitioned by subscription ID. In Azure Portal for the Logs…
Tom Schulte
  • 419
  • 1
  • 6
  • 20
8
votes
2 answers

Static IP address in Azure API management Service

I have done some googling but couldn't get a confirmed answer for this: Does Azure API management service provides a Static IP address? If not, how do i configure it? Reason i am asking is because my on-premise server only accepts request from…
Kengary
  • 125
  • 2
  • 9