How to update the API key for Azure AI Search

How to update the API key for Azure AI Search

It is mandatory to update the API key for the Azure AI Search service monitor to view the Statistics metrics, which provide in-depth quota and usage data of indexes, documents, data sources, aliases, and much more. To add the Azure AI Search monitor, follow the steps in this help document

Use the below steps to update the API key. This is a one-time step for each AI Search monitor that will last until the existing API key is regenerated.

Steps to update the API key

  1. Navigate to your AI Search service in the Azure portal.
  2. Go to the Keys tab under Settings, and select API keys under API Access control.
  3. Copy the Primary admin key.
  4. Log into Site24x7. Navigate to Cloud > Azure > Under Azure AI Search service monitor, click the Statistics tab. 
  5. Paste the copied key in the API key field, then click Submit.


The API key should not exceed 32 characters and consist of letters and digits.

If the shared API key is wrong, you will get an error message. In that case, copy the Secondary admin key and paste the key below. If that also doesn't work, you can regenerate the Primary admin key and update it here. 

Data collection

After successful entry, the data collection will be triggered. It takes a maximum of 5 minutes for the data of the Statistics metrics to be populated. Refresh after 5 minutes to view the complete data.

Threshold configuration

You can set thresholds for these metrics by navigating to the Azure Edit page > Configuration Profiles > Threshold and Availability and select the corresponding threshold profile from the drop-down. By default, you will get alerted when the usage exceeds 80 percent.
If you still face any issues, contact support@site24x7.com

Customers also search for 
How to get data for the Statistics metrics
Where to get the API keys in Azure
There is no data in the Statistics metrics tab


    • Related Articles

    • Monitor websites that require a HTTP POST to determine availability

      You can monitor websites that require HTTP POST to determine availability. You can configure HTTP request methods to be passed (POST/GET/HEAD/POST XML) under the HTTP Configuration while adding a monitor itself. Log in to the Site24x7 client and ...
    • Difference between website monitoring and REST API monitoring

      Website monitoring allows you to monitor your websites and web applications to ensure that they are up and running. Website monitor verifies the availability of specified, addressable, standard HTTP and HTTPS URLs from over 100+ global locations and ...
    • No data for service and process in Windows server monitor

      If you see "No Data" for process and service metrics (such as CPU or memory usage of monitored services) in the Site24x7 Windows server monitor user interface, follow the troubleshooting steps below. Run PowerShell Commands Open PowerShell as ...
    • Difference between a website monitor and a SOAP Web Service monitor

      Website monitor will support monitoring of any web application via POST, GET and HEAD methods of configuration. Learn more on the performance metrics provided for a website monitor. SOAP Web Service monitors , on the other hand, lets you to ...
    • Monitor and validate DNS IP changes using regex

      DNS administrators often monitor their DNS servers to detect changes in domain resolution and ensure IP mappings remain secure and accurate. Problem When your organization adds or modifies an IP address for your domain name, it’s critical to: Be ...