Microsoft Q&A

Azure API Management

1,096 questions

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

Browse all Azure tags

1,096 questions with Azure API Management tags

Sort by: Updated
0 answers

Quota By Counter Keys Facing issue

As per this document , @MuthuKumaran Murugaachari https://learn.microsoft.com/en-us/rest/api/apimanagement/current-ga/quota-by-counter-keys/list-by-service?tabs=HTTP I am trying to get the value from Authorization But when i am trying to hit the url…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-08T14:56:34.6533333+00:00
Upasana Ghosh 346 Reputation points
1 answer

how to add cors for apim using powershell

i need to add Allowed origins, Allowed headers and Allowed methods for apim using powersledd and below is my code. az apim api import --resource-group "$apimresourcegroup" --service-name "$apimname" --path…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
610 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
118 questions
asked 2023-02-07T09:29:26.75+00:00
Sreekanth Gandla 0 Reputation points
commented 2023-02-08T14:30:24.6466667+00:00
Monalla-MSFT 6,401 Reputation points Microsoft Employee
1 answer

APIM email setting for Organization Name or Workspace name not changed in email notification

I have updated workspace name in APIM > Notification Templates > Email setting > Workspace name. After quite a while, it's seen as updated. But when getting email notification, it's still old workspace name. Please help advise anything we missed…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-06T14:41:21.4566667+00:00
TGT 1 Reputation point
answered 2023-02-08T14:28:55.2533333+00:00
MuthuKumaran Murugaachari 6,246 Reputation points
0 answers

APIM- Empty original request body in send-request

I have an inbound policy where I need to take a list of strings from the request body and send a request to another API to get some additional data: <inbound> <base /> <send-request mode="copy"…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-01T19:29:54.4166667+00:00
Greg Smith 0 Reputation points
commented 2023-02-08T14:10:36.69+00:00
MuthuKumaran Murugaachari 6,246 Reputation points
0 answers

cache apim policy

Hello , @MuthuKumaran Murugaachari Can you please provide me some idea how to proceed for implementation of apim policy for the below two points If request contains max-age header, and there is a cached response for this same request, compare the…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-08T13:43:12.8833333+00:00
Upasana Ghosh 346 Reputation points
1 answer

How to define write complex APIM policy in ARM template.

Hi Team, I'm writing a complex APIM policy using ARM template. But seeing lot of failures as we have convert the complete xml into string format. Is there a tool that will help on this. I know we can store the xml in a blob and use that link, but the…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-02T12:38:12.93+00:00
Nallavade, VinodKumar 0 Reputation points
commented 2023-02-08T12:15:04.2833333+00:00
Khurram Rahim 1,431 Reputation points
1 answer

Azure APIM Developer Portal: Unable to edit Query param after adding some sample values in Azure Portal

Hi, In order to make it easier for Developers, we add Request, Response samples in APIM Portal for each operation. That's when I noticed this bug. For ex: In this case I added a value for the query parameter.. If I go back to APIM Developer Portal, You…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-06T20:32:24.45+00:00
Prasad Karanth 0 Reputation points
edited an answer 2023-02-07T22:03:51.8266667+00:00
MuthuKumaran Murugaachari 6,246 Reputation points
1 answer

How to secure api using basic authendication against LDAP in Azure APIM?

we have the API in azure api management which need to verify the user credential against LDAP on the incoming requests from the consumer. Does APIM supports any custom policy to connect ldap server to perform this verification. Does APIM support any…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-06T13:41:14.12+00:00
Gopikrishnan Dhanasekaran 5 Reputation points
answered 2023-02-07T20:33:42.4866667+00:00
MuthuKumaran Murugaachari 6,246 Reputation points
1 answer

Cache policy for cache control

@MuthuKumaran Murugaachari My expectation is , azure apim policy, if Cache-Control set to Private then add clientId (we have it already it pur directory) and store in the key . Now what i implemented in policy: <choose> <when…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-06T15:34:13.31+00:00
Upasana Ghosh 346 Reputation points
edited an answer 2023-02-07T18:54:57.0266667+00:00
MuthuKumaran Murugaachari 6,246 Reputation points
1 answer One of the answers was accepted by the question author.

Get Alert for APIM Quota

I want to get the alert for near quota limit like , whenever the quota will be 80% I should receive an alert . is there any policy or how can it be integrated ? Currently i have the below configuration in apim policy and i get error message in logs…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
1,831 questions
asked 2023-02-06T10:37:19.4466667+00:00
Upasana Ghosh 346 Reputation points
commented 2023-02-07T18:45:56.9433333+00:00
Upasana Ghosh 346 Reputation points
0 answers

Quota API Policy

As per https://learn.microsoft.com/en-us/rest/api/apimanagement/current-ga/quota-by-counter-keys/list-by-service?tabs=HTTP this document , we can have counter keys in Authorization header while calling I so , i want to get alert when the quota reaches…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-07T14:52:15.2466667+00:00
Upasana Ghosh 346 Reputation points
edited the question 2023-02-07T15:02:57.88+00:00
Upasana Ghosh 346 Reputation points
0 answers

Redirect the response of api to blob storage

Hi, I am new to apim in Azure, just wondering is there any way to send a copy of xml file from api to a blob storage before it calls a web service?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-07T12:26:42.8233333+00:00
Amali Lourdessamy 0 Reputation points
0 answers

Get VM powerstate through resource graph api

Hi, i'm trying to get the powerstate of a vm through the resource graph api inside of a logic apps workflow, but i dont know how can i authorize the http request. I understand that i can authenticate the request through a managed identity but i want to…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,830 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,773 questions
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
1,831 questions
asked 2023-02-01T22:39:54.2366667+00:00
edited a comment 2023-02-07T05:49:04.91+00:00
Mike Urnun 4,951 Reputation points Microsoft Employee
2 answers

Logic App - Response timeout issue

Hi, The logic app communicates with the API management service and retrieves information from the Synapse database. I sometimes get Response timeout errors for some reason. How can I increase the timeout value so that I can avoid this issue from…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,830 questions
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-01-19T11:25:31.47+00:00
Vivek Komarla Bhaskar 411 Reputation points
commented 2023-02-06T22:34:23.3833333+00:00
Vivek Komarla Bhaskar 411 Reputation points
0 answers

Why slow response latency in Azure APIM when it is located in a nearby region and the CDN is enabled at backend Blob storage?

Methodology:  Spawned 2 APIMS: one in East Us and other in Southeast Asia. In each APIM, the same Azure storage is configured as the web service URL (https://<storage-account-name>.blob.core.windows.net/).  For the testing purposes, one GET…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,423 questions
Azure Content Delivery Network
asked 2023-02-02T14:39:40.88+00:00
MORA_190290U_Pasan Sanjula 0 Reputation points
commented 2023-02-06T19:46:52.89+00:00
MuthuKumaran Murugaachari 6,246 Reputation points
1 answer

I'm trying to link an Azure APIM API to my static web site, but I'm getting a 404 from /api/

I've created several APIs in APIM which I can test independently and they work as expected. However, when linked to my Static Web App, it is getting a 404 because the static webapp is proxying to the APIM url with the extra "/api" in the URL…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-02T20:01:36.8133333+00:00
Greg Rubino 0 Reputation points
answered 2023-02-06T19:46:01.39+00:00
Khurram Rahim 1,431 Reputation points
2 answers

how to encode set-url with parameters

Hi, I'm trying to use the send-request policy to send a request to a service URL and then parse the results. The problem I am running into is that my URL has spaces in it, which then get encoded, but when executed to not execute successfully. When I…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-06T00:24:50.3333333+00:00
Greg Thomas 121 Reputation points
edited the question 2023-02-06T17:33:34.1933333+00:00
MuthuKumaran Murugaachari 6,246 Reputation points
0 answers

Azure APIM - Near zero capacity usage on secondary location which has 100k more requests per week than primary

We have an APIM on the Premium tier running two units in East US. We have a secondary location in SouthEast Asia (SEA) with 1 unit. SEA handle 100k more requests per week than our primary location. However, our primary location shows capacity usage…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
Azure Metrics Advisor
Azure Metrics Advisor
An Azure artificial intelligence analytics service that proactively monitors metrics and diagnoses issues.
67 questions
asked 2023-02-06T16:36:37.39+00:00
Scott Hermes 0 Reputation points
1 answer

Azure APIM How to assign Header response to a variable

I have the following policy fragment that connects to an API we are using for authorization. <fragment> <send-request mode="new" response-variable-name="bearerToken" timeout="20"…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-02-01T16:40:40.1666667+00:00
Thomas, Gregory 0 Reputation points
commented 2023-02-06T14:49:50.08+00:00
MuthuKumaran Murugaachari 6,246 Reputation points
1 answer

Trying to make an API connection with the API Management tool

Hello, I am trying to make an API connection with the API Management tool, I put all the parameters in the header and it sends me an error. GET https://apitamfdev.azure-api.net/https://api.conekta.io/orders HTTP/1.1 Host:…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,096 questions
asked 2023-01-31T22:28:29.81+00:00
Ramon Oswaldo Robles Leyva 0 Reputation points
commented 2023-02-06T14:46:51.8166667+00:00
MuthuKumaran Murugaachari 6,246 Reputation points