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

0
votes
0answers
9 views

Azure Api Management - Trace not available despite sub keys and trace set to true

The trace tab always says: Trace location was not specified in the response or trace log is not available. This is despite me passing both an Ocp-Apim-Subscription-Key and Ocp-Apim-Trace in the ...
0
votes
1answer
9 views

Azure APIM policies: allow multiple header names for sending JWT, or 'OR' condition in policies

I need to configure APIM to support JWT provided in any of predefined headers. To do that I need to combine two policies by 'OR' condition but I can't find a documentation on corresponding syntax. I ...
0
votes
1answer
18 views

Is it possible to change or override operation name of incoming request to Azure APIM

Is there a way (policy or otherwise) to change or override the operation name of incoming request to Azure API management. Currently request send by one of our API client is failing because client ...
0
votes
0answers
20 views

How to do availability test for OAuth 2.0 Protected APIs in Azure

I am creating availability test for Azure APIs in Application Insights but these test are failing because of unauthorised access. It says JVT validation failed since token is not present. When I test ...
1
vote
1answer
26 views

SSL certificate with multiple SANs and wildcard custom domain

Is it possible to use a single SSL certificate containing multiple subject alternative names with a wildcard custom domain name in Azure API Management? Upgrading to the premium tier of Azure API ...
0
votes
0answers
13 views

Azure API management removing multiple cache values

I'm working with Azure's API management (APIM) caching and I got stuck on removing cache values. The default caching with cache-store and cache-lookup worked fine but we had to allow changing the ...
0
votes
1answer
19 views

How to update Azure API Management named values in a batch?

We have existing production services which are based on this policy sample which acquires a bearer token via client grant flow. However we want to switch the client application settings to a new app, ...
3
votes
1answer
38 views

Calling Azure API Management from UI

This seems a simple question for whoever already implemented Azure API Management integration with UI i.e. Angular/HTML project. My question is that if we need to call an API in Azure, 1st need to ...
0
votes
1answer
43 views

How to create Web API that can be imported into Azure API Management Portal

so I have fiddled around a bit with Azure API Management Portal. I have followed the tutorial on how the import the conference api and managed to get it to work. Then I created a WebApi app that uses ...
0
votes
2answers
70 views

Azure API Management - How to get original IP when APM is behind WAF

We have below technical stack Imperva WAF API Management WebApi in WebApp This is current implementation Client IPs are authenticated at WAF level WAF IPs are whitelisted at APIM APIM IP is ...
0
votes
1answer
27 views

Azure Api Management returns detail error when backed is off include oath token

I am working on API Management, the backend is ecured with oauth client credentials. If backend is off, I get the response of 200 and detail error as below. { "error": { "name": "...
0
votes
1answer
15 views

Azure API Management without Developer Portal

I started to use Azure API Management with the Consumption Tier. After importing the first API into the API Gateway and assigning a product to it, I recognized that for the Consumption Tier no ...
0
votes
1answer
23 views

Can we add a new API to azure API management from developer portal?

I have created a API management,here we can add manually required API's from portal. My question is can we add new API from Developer portal of Azure API management( i.e Dynamically). I created a API ...
0
votes
2answers
50 views

Rename Query Parameter in Outbound Request in Azure API Management

Using policies in Azure API Management, I'm trying to rename a query parameter, but it does not work. If I change copy-unmatched-params="false" to copy-unmatched-params="true" then it works, but the ...
1
vote
1answer
72 views

Using Azure B2C to authenticate users for access to microservices behind API management

How do I use Azure B2C with API Management to authenticate access to backend microservices. I've checked a couple of links, which confuse me, see this link, it talks about authorizing developer ...
1
vote
1answer
39 views

Azure Application Insights Cloud Role Name to API Management

I tried to search if there is a way to add custom Cloud RoleName for API management resource? We have one Application Insights instance and we have all our applications for that environment use that ...
3
votes
0answers
88 views

How to upload ZIP File from API Management to Blob Storage

I am sending a POST Request on one of my Azure Api Mangement APIs In this post request there is a json body which contains base64 encoded data (zip file) like in this example: { "foo": "bar", ...
0
votes
1answer
50 views

How Do I Configure API Management With Multiple Back Ends?

I am hosting a service for clients where we have the same application deployed per client in Azure. It is essentially this per client: Application Gateway -> App Service Environment -> API ...
0
votes
1answer
33 views

Reusing APIM policy expression via Named Value

I have a problem reusing APIM expression. Specificially, a named value below is created like above, name JWTValidator @( @"<validate-jwt header-name='Authorization' failed-validation-...
0
votes
0answers
15 views

APIM Named Value hello world example not working

I have a problem following the example on the link below. https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-properties Specificially, Named value below are created based on ...
0
votes
1answer
28 views

How to get signin tenant while setting security in azure api management using azure active directory?

I need Signin Tenant for setting azure active directory in API management services. I tried already tried the azure public domain i.e. xxx.onmicrosoft.com but it's not working using this. No code as ...
0
votes
1answer
45 views

Securing free API App Service behind consumption API Management

I have created a .NET Core API and deployed it as an App Service in Azure. On top of that, I have an instance of Azure API Management. Now I want the API to be only accessible through the APIM. ...
0
votes
1answer
19 views

Where can I edit, API management, publisher portal statistic pages?

I have setup an Api-management service in Azure and i can see the default statistics in the publisher portal. I want to include in my statistics 5xx errors and i can't find a recommendation about ...
0
votes
1answer
28 views

How to turn off SSL validation on an Azure API Management policy?

I have APIM setup and i am adding a validate-jwt policy to my apis. I have my own openid connect server. however when i add the policy i get an error that it could not connect to my openid-...
0
votes
1answer
33 views

Is there a way to move an Azure Api Management instance to different datacenter?

We have an API Management instance with users and traffic in one datacenter. We would like to move this instance to another datacenter. There seems to be no way of doing this directly through the ...
0
votes
0answers
70 views

Retrieving user's AAD App Role in Azure API Management

We have registered an Azure AD App and updated the manifest file to include 2 app roles, thereafter assigned user to the App Role. { "allowedMemberTypes": [ "User" ], ...
0
votes
1answer
16 views

finding CORRECT api to use in bing websearch package

I'm currently at my wits end right now in dealing with azure. I'm currently using (trying to) the package py-ms-cognitive specifically the bing websearch module. The documentation seems ...
1
vote
1answer
60 views

Could not create an API using Azure Function App

I'm trying to create an API using an existing Azure Function App. Function App Properties: OS: Linux Hosting Plan: Consumption Plan Runtime Stack: Python Here is the error:
0
votes
1answer
97 views

How to protect azure web app from abusive calls?

I have two web apps in azure one angular 6 the other one is .net core web api. Angular app consumes the apis to get data. Some of these apis are public apis. It means authentication is not needed for ...
0
votes
1answer
19 views

Azure Service Bus through Azure API Management

We are considering improving security management around our Azure Service Bus stack used a an Enterprise Service Bus. Azure API management seems a pretty good candidate (and would allow plenty other ...
1
vote
1answer
80 views

OAuth2 Configuration Issues: AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application:

Trying to get Oauth2.0 to work with APIM in my Azure space. I have imported and setup an 2.0 Open API as the backend. I am using the APIM developer portal as the client to call this backend API. ...
0
votes
1answer
39 views

Azure APIM custom domain SSL let's encrypt

I want to create a SSL certificate for a custom domain I owned and I then need to use this certificate with an Azure APIM instance. I found the steps to assign a custom domain in APIM but I missed 2 ...
0
votes
1answer
34 views

Azure token by using only Azure subscription id

I am using azure rest API for get all resources in my azure portal. https://docs.microsoft.com/en-us/rest/api/resources/resources/list Currently it will authenticated by access token. Is there any ...
1
vote
1answer
32 views

Way to create a trigger for logic apps when a API-Management API gets called

I have an Azure API Management API when called should execute some logic and based on it will execute either 2 new API's or 3 new API's based on the logic and return the result from the logic apps. I ...
0
votes
0answers
34 views

Why does the xml-to-json policy result in an empty body when using it in the inbound policies?

Document reference: https://docs.microsoft.com/en-us/azure/api-management/api-management-transformation-policies#example-1 A snippet from my "inbound processing" policies: <inbound> <...
1
vote
1answer
20 views

How to import/add an api to an apim in azure via terminalen (Script), NOT from portal?

I use this template, https://docs.microsoft.com/en-us/azure/templates/microsoft.apimanagement/2019-01-01/service#ApiManagementServiceSkuProperties, and this scrpit, az group deployment create -g ...
0
votes
2answers
38 views

How to make Azure API Management (API Gateway) CORS policy dynamic?

I want to add domains(Origins) in allowed-origins section dynamically in Azure API gateway. Is it possible ? Or is there another way we can setup the CORS, so that we can allow origins dynamically. ...
1
vote
2answers
48 views

Decrypt bearer token in Azure API Management to get acr_values

Is there any way to decrypt a bearer token in an API management policy in order to create a condition it's acr_values, for example a tenant. Looking at the MS documentation it does not seem possible, ...
0
votes
0answers
32 views

API versioning : APIM capabilities and the .net core API versioning capacities

I have built a .net core 2.2 Api Application for REST Api's. I used the below nugets to achieve API versioning I have two versions of the same API implemented [Route("api/v{version:apiVersion}/...
2
votes
1answer
40 views

How to disable the try it function in the Azure API management developer portal?

On the Azure API management developer portal, there is a "Try it" feature to test api request in your browser. The try it button: Is it possible to disable/remove this feature? I don't want ...
0
votes
2answers
70 views

api management client certificate authentication fails when values are not hard coded

I am setting up client authentication on my API management component. I want clients to authenticate to my API management before they can access any APIs (so API management is server and API users are ...
0
votes
2answers
43 views

Is it possible to return a byte array response body from azure api-management policy?

I have an API which returns a JSON object, one of the attributes of which contains some base64 encoded binary data (a PDF file). I want to use a policy in Azure API Management in front of this API so ...
0
votes
1answer
68 views

How to disable subscription key in Azure API Managment with Powershell

We are using Azure API Management and Powershell to import the configuration on the portal with a script, however whenever the API is imported the "Subscription required" check from the portal is ...
0
votes
1answer
92 views

User Authentication with IdentityServer and Azure API Management

I need some help with Azure API Management service. At the moment we have a SinglePage App which is using two Backend Services (WebApi .Net Core) hosted on Azure. To Authenticate and Authrize user we ...
-1
votes
2answers
59 views

Api Managment use case

I have a question about the Azure API Management service and how to use it in terms of security. I have looked and cant find an answer I can feel confident with. So, should I use subscription keys ...
0
votes
1answer
59 views

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.
0
votes
1answer
41 views

How does the code for each API exposed via AZURE API Gateway Stored?

I am new to Azure API Manager, I have used Apigee Edge before where you can store each api proxy code in either git or SVN. But in Azure I am not sure how each API that is exposed via the gateway is ...
0
votes
1answer
56 views

Azure API Managment Not Able to Authorize with azure b2c: Signature Failed

I have configured a backend application (api) and azure apim devportal (client app) in b2c. I have provided access to backend api from client app. I have used this to configure oauth authentication in ...
0
votes
0answers
42 views

connect api management gateway to wcf based backend services

We wanted to adopt APIM gateway to expose apis to external customers/partners on internet. APIM gateway need to connect to backed WCF services hosted on application server behind firewall. I ...
0
votes
1answer
83 views

how can I import azure api app in azure api management?

I am not able to import the azure api app in azure api management I have deployed below api in azure api app. If I import using open api specification,I am able to execute the Get api. But same app ...