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
0
votes
0 answers

Getting authentication failed error when calling APIM API which has Product scope from postman

I have an APIM API, which is associated with a Product(Product scope). When I test the API within APIM (Test tab), everything works fine. But when I copy the same headers along with the same Authorization JWT token to Postman and test the API, I'm…
Madhu
  • 415
  • 1
  • 4
  • 15
0
votes
0 answers

Azure API Management Log Backend Request to App Insights?

Within the area of the APIM Policy, using emit-metric to send the original call and client IP address to App Insights. I cannot find how to send the URI that is sent to the backend, which will not be the same as the original URI call due to…
Snowy
  • 5,942
  • 19
  • 65
  • 119
0
votes
1 answer

Azure APIM policy.xml restricted routing

I Have two products(APIs) within azure APIM set in 2 different subscriptions (2 different domains). Currently our apim is on premium sku and can call multiple custom domains. Depending on the environments I am deploying APIM to - I would like to add…
kat
  • 79
  • 8
0
votes
1 answer

APIM - Updating Named value parameter with api response

I am new to APIM and got a scenario. I have multiple apis. But all require authentication. The authentication api works fine. I want to capture the token from authentication api response and pass that as a header into subsequent apis. I have created…
Abhishek
  • 3
  • 2
0
votes
2 answers

Azure api works locally but not in Azure deployment, for the endpoint which need data from Azure sql db. Endpoint with hardcoded data is fine though

i have deployed a .net core web api to Azure App service. one endpoint of API which does not have anything to get from Database works fine. [Route("api/[controller]")] [ApiController] public class HomeController : ControllerBase { [HttpGet] …
0
votes
1 answer

Azure API policy JSON conversion while returning the response from cache

I am using below policy code and storing the data in the cache. While storing as string, it is working fine but requirement is to store in JSON format and its failing and throwing error during conversion .
user3656432
  • 3
  • 1
  • 4
0
votes
1 answer

How to get the authenticated user in spring boot when authentication is externalized (azure)

If I deploy a spring boot application as a azure app, I can externalize the authentication by using azure API management and configuring oauth2 etc using the authentication options of azure app service. As such I don't need to configure any…
0
votes
1 answer

Azure API Management Virtual Network - outbound IP and routing

I have an Azure API Management configured in "Internal" mode with a Virtual Network. When my API Management calls a backend on the web (i.e. httpbin.org for testing purposes), the Public IP address provided by APIM to this endpoint is the one…
David GROSPELIER
  • 772
  • 1
  • 9
  • 35
0
votes
1 answer

Azure Storage Blob file download and Upload via APIM

I have a Azure Storage account. I have added an API in APIM which will call a Storage account SAS URL to download the file. The download works fine except that it takes too much time to download. Say 5 mins for 80 mb file. APIM is Developer…
venkatesh k
  • 49
  • 1
  • 9
0
votes
1 answer

Using subscription-key and OAuth2 flow in the same API at the same time

I want to use subscription-key + OAuth2 for the same API OAuth2 for the security robustness And Subscription-Key for adding another layer of security and using it as an identifier of the company(so it can be rotated), avoiding handing out the IDs. I…
0
votes
2 answers

Difference between backend service URL and web service URL in Azure APIM

I noticed there are two places to set the backend URL in Azure APIM: In the Design tab: And in the Settings tab: What's the difference between these two?
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
0
votes
1 answer

What is a gateway in Azure APIM?

I have a gateway assigned to my API called "Managed". What is a gateway and how does it affect this API? Does it have anything to do with the Gateways page in APIM? There is no "Managed" gateway listed:
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
0
votes
1 answer

Why have multiple products for an API in Azure APIM?

I found this API that has two products: What's the point of having two products?
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
0
votes
1 answer

Why is Azure APIM redirecting to the backend service URL?

Calls to APIM have suddenly started redirecting to the backend service. In my test environments, I get a 301 Moved Permanently, whereas for the exact same code deployed to prod, I just get a 200. Why is my APIM returning a 301? Here's the HTTP…
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
0
votes
1 answer

Azure API Management Developer Portal edit detail options

I am new to APIM, when I try to edit the page api-details and change some of the defaults for "List of Operations" it does not present me with an option to save (stays greyed out). Instead I get a message saying "This section is part of a "Default"…
Alex D
  • 788
  • 2
  • 11
  • 33