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
1 answer

Azure API Management policy to get token with query parameters

I am looking to implement an Azure API Management policy for bank account validation and as part of that API I want to call out to a token endpoint and pass that into the bank account validation. The problem I have is around setting the inbound…
Phil Murray
  • 6,396
  • 9
  • 45
  • 95
0
votes
0 answers

Get unicode char from jwt in Azure API Management policy

In Azure API management policy, it tries to get claim name from JWT. It works fine when we have normal english text. However, it fails when name contains any Unicode chars("Jąhn") then it fails. Following is code snippet: var jwt =…
Manas Kumar
  • 2,411
  • 3
  • 16
  • 23
0
votes
1 answer

Azure APIM developer portal - adding sign in : Oauth widget shows 2 buttons

I used to see single button when I add widget "Sign in button:Oauth" i.e, Azure active directory. But from past few days when i try to add widget "Sign in button : Oauth" i see 2 buttons Azure active directory and Azure actice directory B2C. How do…
0
votes
0 answers

Azure APIM deployment is getting failed. "code": "ResourceDeploymentFailure"

Deployment is getting failed for Azure APIM with the below error. { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'." …
0
votes
1 answer

Azure Appservice - Forbidden - 403 error while trying to stop the w3wp process of an Appservice instance

Created a program to restart the Azure App Service instance programmatically. I am using below api to stop the w3wp…
0
votes
1 answer

unable to use validate jwt in APIM for managed Identity token

We have a validate jwt policy in APIM to validate jwt token. we are generating token from our function app using the azure.identity library. till now we were using system assigned identity for generating the token using the below method. var…
0
votes
1 answer

Migrating from Mulesoft to Azure APIM

There is possibly an option to export the Mulesoft assets into OAS / RAML file, which can then be imported into Azure APIM. But is it even possible to extract all the relevant API specifications like API, Operations, Policies etc. that is needed by…
omkar.ghaisas
  • 235
  • 5
  • 19
0
votes
1 answer

How to redirect API Management Developer portal URL to gateway url?

I have setup a gateway url which points to my actual domain. But if users go to the developer portal URL, a basic blank page with a little info on API-M is shown. How do I redirect this page to the actual domain?
Ryan Sangha
  • 442
  • 6
  • 17
0
votes
1 answer

Unable to get Azure scopes for azure cost consumption apis

I need to consume azure consumption apis for a php project. But i'm completely messed up with scopes. Steps i followed : Registered an application and got application id. Created client secret curl -X POST -d…
0
votes
2 answers

Azure Api Management: verify that JWT and Ocp-Apim-Subscription-Key belong to the same user?

My api is protected by 2 means: JWT validation and Ocp-Apim-Subscription-Key requirement. The Azure AADB2C JWT asserts that the user is who he says he is while guaranteeing that he proved such identity (user+password) recently. The…
Leonardo
  • 10,737
  • 10
  • 62
  • 155
0
votes
0 answers

Self signed certificates don't work with self hosted Gateway

I followed the steps mentioned in: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-ca-certificates#create-custom-ca-for-self-hosted-gateway and added a self signed certificate as an pfx file to the azure apim. Then I used…
high5
  • 37
  • 1
  • 6
0
votes
1 answer

APIM Waiting to Receive entire request before returning Bad Request Back to user

We have a REST API running in App Services. The API receives large files along with some other data. We are performing validations in our Rest API and returning Bad Request if any validations fail. We are seeing that APIM is waiting for the entire…
JBL
  • 41
  • 1
  • 3
0
votes
1 answer

How do I secure Azure Api Gateway with basic authentication

I have a two micro-services. One is an authentication service and the other is a basic data fetching service. They are both setup in Azure Api Management. I have all the users and passwords in my authentication services database and I simply want to…
coolblue2000
  • 3,796
  • 10
  • 41
  • 62
0
votes
1 answer

Self hosted gateway in Docker vs Kubernets

what is the differentes of deployment of a self hosted gateway to docker or kubernets? I had read that Kubernets allows local metrics and logs. Link: https://learn.microsoft.com/en-us/azure/api-management/how-to-configure-local-metrics-logs I also…
high5
  • 37
  • 1
  • 6
0
votes
1 answer

Outbound IP address Azure API Management

Scenario: I have Pay-As-You-Go instance of Azure API Management created. In that, as APIs, I have imported Azure Functions App. Azure Functions app is on Consumption Plan as well. These azure functions are calling some external APIs and getting…