Content
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…


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…


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…


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"…


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…


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 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…


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…


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…


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…


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…


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?


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…


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…


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…


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…


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 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 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"…


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:…

