Troubleshoot client application errors in Azure Storage accounts - Azure (2023)

  • Article

This article helps you investigate client application failures using metrics.client-side log filesand resource logs in Azure Monitor.

diagnose errors

Users of your application can notify you of errors reported by the client application. Azure Monitor also records the number of different response types (response typedimensions) from your storage services, such asnetwork error,ClientTimeoutError, orauthorization error. While Azure Monitor only records the number of different error types, you can get more detailed information about individual requests by examining server, client, and network logs. Usually, the HTTP status code returned by the storage service gives an indication of why the request failed.


Remember to expect occasional errors. For example, errors due to transient network conditions or application errors.

The following resources are helpful in understanding memory-related status and error codes:

  • Common REST API error codes
  • Blob service error codes
  • Error codes for queue service
  • Table service error codes
  • File service error codes

The client receives HTTP 403 (Forbidden) messages.

If your client application is throwing HTTP 403 (Forbidden) errors, the likely cause is that the client is using an expired Shared Access Signature (SAS) when sending a save request (although other possible causes include timing biases, invalid keys, and blanks). headings).

The Storage Client Library for .NET allows you to collect client-side log data related to storage operations performed by your application. For more information, seeClient-side logging using the .NET Storage Client Library.

(Video) How to troubleshoot the most common issues on Azure resources | Azure Portal Series

The following table shows an example from the client-side log generated by the Storage Client Library that illustrates the occurrence of this issue:

The theredetailsdetailsCustomer Request IDOperationstekst
Microsoft.Azure.StorageInformation385d077ab-…Start of operation with location Primary per location mode Primary Only.
Microsoft.Azure.StorageInformation385d077ab-...Synchronous requestis underway
Microsoft.Azure.StorageInformation385d077ab-...Wait for a reply.
Microsoft.Azure.Storagewarning285d077ab-...An exception was thrown while waiting for a response: The remote server returned an error: (403) Forbidden.
Microsoft.Azure.StorageInformation385d077ab-...Answer received. Status Code = 403, Request ID =, Content-MD5 = , ETag = .
Microsoft.Azure.Storagewarning285d077ab-...An exception was thrown during the operation: The remote server returned an error: (403) Forbidden.
Microsoft.Azure.StorageInformation385d077ab-...It is checked whether the process should be repeated. Number of Retries = 0, HTTP Status Code = 403, Exception = The remote server returned an error: (403) Forbidden.
Microsoft.Azure.StorageInformation385d077ab-...Next location was set to Primary based on location mode.
Microsoft.Azure.StorageError185d077ab-...The retry policy did not allow a retry. Error with: The remote server returned an error: (403) Forbidden.

In this scenario, you should investigate why the SAS token expires before the client sends the token to the server:

  • When you create a SAS, you should typically not specify a start time so that a client can start using it immediately. If there are small clock differences between the host generating the SAS with the current time and the storage service, it is possible that the storage service will receive a SAS that is not yet valid.

  • Do not set a very short expiration time on an SAS. Again, small clock differences between the host generating the SAS and the storage service can cause a SAS to expire sooner than expected.

  • Is the version parameter in the SAS key (egsv=2015-04-05) match the version of the Storage Client Library you are using? We recommend always using the latest version of the storage client library.

  • If you regenerate your storage access keys, any existing SAS tokens may become invalid. This issue can occur when you generate SAS tokens with a long expiration time for client application caching.

Generating a valid token is easy when you use the Storage Client Library to generate SAS tokens. However, if you use the Storage REST API and create the SAS tokens manually, seeDelegation of access with a shared access signature.

The client receives HTTP 404 (Not Found) messages.

If the client application receives an HTTP 404 (Not Found) message from the server, it means that the object the client tried to access (such as an entity, table, blob, container, or queue) is not in the store that is a service. There are a number of possible reasons for this, such as:

  • The client or another process previously deleted the object.

  • Et problem med SAS-autorisation (Shared Access Signature).

    (Video) How to troubleshoot temporary storage on Azure App Service

  • Client-side JavaScript is not allowed to access the object.

  • network error.

The client or another process previously deleted the object

In scenarios where the client tries to read, update, or delete data in a storage service, it is easy to identify a previous action in the storage resource logs that deleted that object from the storage service. Often the log data shows that another user or process has deleted the object. The Azure Monitor logs (server side) show when a client has deleted an object.

In the scenario where a client tries to insert an object, it may not be immediately obvious why this results in an HTTP 404 (Not Found) response since the client is creating a new object. However, when the client creates a blob, it must be able to find the blob container. When the client writes a message, it must be able to find a queue. And when the client adds a row, it must be able to find the table.

You can use the client-side log from the Storage Client Library to better understand when the client makes specific requests to the storage service.

The following client-side log generated by the Storage Client library illustrates the problem when the client cannot find the container for the blob it is creating. This log contains details of the following storage operations:

Request IDOperation
07b26a5d-...DeleteIfExistsMethod to delete the blob container. This process includes aKOPFRequest to confirm the existence of the container.
e2d06d78…CreateIfNotExistsMethod to create the blob container. This process includes aKOPFRequest that checks if the container exists. ThatKOPFreturns a 404 message but continues.
de8b1c3c-...UploadFromStreamMethod to create the blob. ThatSETThe request fails with a 404 message


Request IDOperationstekst
07b26a5d-...Starting synchronous request to
07b26a5d-...StringToSign = HEAD............x-ms-client-request-id:07b26a5d-....x-ms-date:Tue, 03 Jun 2014 10:33:11 GMT.x -ms-version:2014-02-14./domemaildist/azuremmblobcontainer.restype:container.
07b26a5d-...Wait for a reply.
07b26a5d-...Answer received. Status Code = 200, Request ID = eeead849-...Content-MD5 = , ETag = "0x8D14D2DC63D059B".
07b26a5d-...The response headers were processed and the rest of the process continues.
07b26a5d-...The black text downloader.
07b26a5d-...The action was completed.
07b26a5d-...Starting synchronous request to
07b26a5d-...StringToSign = DELETE............x-ms-client-request-id:07b26a5d-....x-ms-date:Tue, 03 Jun 2014 10:33:12 GMT.x -ms-version:2014-02-14./domemaildist/azuremmblobcontainer.restype:container.
07b26a5d-...Wait for a reply.
07b26a5d-...Answer received. Status Code = 202, Request ID = 6ab2a4cf-..., Content-MD5 = , ETag = .
07b26a5d-...The response headers were processed and the rest of the process continues.
07b26a5d-...The black text downloader.
07b26a5d-...The action was completed.
e2d06d78-...Start an asynchronous request to
e2d06d78-...StringToSign = HEAD............x-ms-client-request-id:e2d06d78-....x-ms-date:Tue, 03 Jun 2014 10:33:12 GMT.x -ms-version:2014-02-14./domemaildist/azuremmblobcontainer.restype:container.
e2d06d78-...Wait for a reply.
de8b1c3c-...Starting synchronous request to
de8b1c3c-...StringToSign = PUT...64.qCmF+TQLPhq/YYK50mP9ZQ==........x-ms-blob-type:BlockBlob.x-ms-client-request-id:de8b1c3c-....x -ms-date: Tue, 03 Jun 2014 10:33:12 GMT.x-ms-version:2014-02-14./domemaildist/azuremmblobcontainer/blobCreated.txt.
de8b1c3c-...Write request data is being prepared.
e2d06d78-...An exception was thrown while waiting for a response: The remote server returned an error: (404) Not Found.
e2d06d78-...Answer received. Status Code = 404, Request ID = 353ae3bc-..., Content-MD5 = , ETag = .
e2d06d78-...The response headers were processed and the rest of the process continues.
e2d06d78-...The black text downloader.
e2d06d78-...The action was completed.
e2d06d78-...Start an asynchronous request to
e2d06d78-...StringToSign = PUT...0.........x-ms-client-request-id:e2d06d78-....x-ms-date: Tue, 03. Juni 2014 10:33:12 GMT . x-ms-version:2014-02-14./domemaildist/azuremmblobcontainer.restype:container.
e2d06d78-...Wait for a reply.
de8b1c3c-...write request data.
de8b1c3c-...Wait for a reply.
e2d06d78-...An exception was thrown while waiting for a response: The remote server returned an error: (409) Conflict.
e2d06d78-...Answer received. Status Code = 409, Request ID = c27da20e-..., Content-MD5 = , ETag = .
e2d06d78-...Downloading error response text.
de8b1c3c-...An exception was thrown while waiting for a response: The remote server returned an error: (404) Not Found.
de8b1c3c-...Answer received. Status Code = 404, Request ID = 0eaeab3e-..., Content-MD5 = , ETag = .
de8b1c3c-...An exception was thrown during the operation: The remote server returned an error: (404) Not Found.
de8b1c3c-...The retry policy did not allow a retry. Error with: The remote server returned an error: (404) Not Found.
e2d06d78-...The retry policy did not allow a retry. Error with: The remote server returned an error: (409) Conflict.

In this example, the log shows that the client embeds requests fromCreateIfNotExistsmethod (request id e2d06d78...) with the requests fromUploadFromStreamMethod (de8b1c3c-...). This nesting occurs because the client application calls these methods asynchronously. Edit the asynchronous code in the client to ensure that it creates the container before attempting to upload data to a blob in this container. Ideally, you create all your containers in advance.

If the client application attempts to use a SAS key that does not contain the necessary permissions for the operation, the storage service returns an HTTP 404 (Not Found) message to the client. At the same time, a is also displayed in Azure Monitor metricsauthorization errorforresponse typeDimensions.

Investigate why your client application is trying to perform an action for which it has not been granted permissions.

(Video) Azure Storage Account - Access Restriction

Client-side JavaScript is not allowed to access the object

If you are using a JavaScript client and the storage service returns HTTP 404 messages, check for the following JavaScript errors in the browser:

SEC7120: Origin http://localhost:56309 ikke fundet i Access-Control-Allow-Origin header.
SCRIPT7002: XMLHttpRequest: Network error 0x80070005, access denied.


You can use the F12 developer tools in Internet Explorer to trace the messages exchanged between the browser and the storage service when you debug client-side JavaScript problems.

These errors occur because the web browser implements itSame-origin policySecurity restriction that prevents a web page from calling an API on a domain other than the domain from which the page originated.

To work around the JavaScript issue, you can configure Cross-Origin Resource Sharing (CORS) for the storage service accessed by the client. For more information, seeCross-Origin Resource Sharing (CORS) support til Azure Storage Services.

The following code example shows how to configure your blob service to allow JavaScript to run in the Contoso domain to access a blob in your blob storage service:

  • .NET v12 SDK
var ConnectionString = Constants.connectionString; BlobServiceClient blobServiceClient = ny BlobServiceClient(connectionString); BlobServiceProperties sp = blobServiceClient.GetProperties(); // Legen Sie die Diensteigenschaften fest. sp.DefaultServiceVersion = "2013-08-15"; BlobCorsRule bcr = new BlobCorsRule(); bcr.AllowedHeaders = "*"; bcr.AllowedMethods = "GET,POST"; bcr.AllowedOrigins = ""; bcr.ExposedHeaders = "x-ms-*"; bcr.MaxAgeInSeconds = 5; sp.Cors.Clear(); sp.Cors.Add(bcr); blobServiceClient.SetProperties(sp);

network error

Under certain circumstances, dropped network packets can cause the storage service to send HTTP 404 messages back to the client. If your client application e.g. deletes an entity from the table service, you will see the client throw a memory exception and report an "HTTP 404 (Not Found)" status message from the table service. If you examine the table in the table storage service, you will find that the service deleted the device as requested.

(Video) Configuring Firewall and Virtual Network access on Azure Storage Accounts

The exception details in the client include the request ID (7e84f12d...) assigned by the table service for the request: You can use this information to find the request details in the storage resource logs in Azure Monitor by searching themFields that describe how the action was approvedof log entries. You can also use metrics to identify when errors like this occur and then search the logs based on when metrics detected this error. This log entry shows that the deletion failed with the status message "HTTP (404) Client Other Error". The same log entry also contains the client-generated request ID imCustomer Request IDKolonne (813ea74f...).

The server-side log also contains another entry with the same entryCustomer Request IDValue (813ea74f...) for a successful delete operation for the same device and from the same client. This successful deletion happened just before the failed deletion request.

The most likely cause of this scenario is that the client sent an entity deletion request to the table service that was successful, but did not receive an acknowledgment from the server (possibly due to a temporary network problem). The client then automatically repeated the process (using the sameCustomer Request ID), and this retry failed because the device was already deleted.

If this problem occurs frequently, you should investigate why the client is not receiving receipts from table service. If the problem is intermittent, catch the HTTP (404) Not Found error and log in to the client, but allow the client to continue.

The client receives HTTP 409 (conflict) messages.

When a client deletes blob containers, tables, or queues, it takes a short time for the name to become available again. If the code in your client application deletes a blob container with the same name and then immediately recreates it, it willCreateIfNotExistsThe method eventually fails with an HTTP 409 (conflict) error.

The client application must use unique container names when creating new containers if the delete/restore pattern is common.

Metrics show low PercentSuccess or analysis log entries with operations with transaction status ClientOtherErrors.

INresponse typeDimension equal to a value ofSuccestracks the percentage of operations that were successful based on their HTTP status code. Operations with status codes of 2XX are considered successful, while operations with status codes in the 3XX, 4XX, and 5XX ranges are counted as failures and lower the success metric value. Storage resource logs record these operations with transaction statusClientOtherError.

These operations have been completed successfully and therefore do not affect other metrics such as: B. Availability. Some examples of operations that succeed but may result in failed HTTP status codes are:

  • Resource not found(Not Found 404), for example from a GET request to a blob that doesn't exist.
  • Resource already exists(Conflict 409), for example from aCreateIfNotExistOperation where the resource already exists.
  • condition not met(Not Changed 304), for example from a conditional operation such as when a client sends aETagvalue and an HTTPif-not-matchHeader to only request an image if it has been updated since the last action.

On the page you will find a list of the most common REST API error codes that the storage services returnCommon REST API error codes.

See also

  • Monitor Azure Blob Storage
  • Azure File Monitoring
  • Azure queue storage monitoring
  • Azure table storage monitoring
  • Fix performance issues
  • Fix accessibility issues
  • Monitor, diagnose and troubleshoot your Azure Storage

If you have any questions or need help,Create a support request, or askAzure Community Support. You can also send product feedback toAzure Community Support.

(Video) Learn Live - Monitor, diagnose, and troubleshoot your Azure Storage


How do I troubleshoot Azure problems? ›

Troubleshooting steps
  1. Step 1: Check whether NIC is misconfigured. ...
  2. Step 2: Check whether network traffic is blocked by NSG or UDR. ...
  3. Step 3: Check whether network traffic is blocked by VM firewall. ...
  4. Step 4: Check whether VM app or service is listening on the port. ...
  5. Step 5: Check whether the problem is caused by SNAT.
Feb 10, 2023

Which two tools can be used to troubleshoot Azure Files connectivity? ›

  • Python.
  • .NET.
  • JavaScript.
  • Java.
  • Go.
Apr 13, 2023

How do I troubleshoot Azure apps? ›

Open App Service diagnostics

To access App Service diagnostics, navigate to your App Service web app or App Service Environment in the Azure portal. In the left navigation, click on Diagnose and solve problems.

What is throttling error in Azure storage client? ›

Throttling errors occur when you exceed the scalability targets of a storage service. The storage service throttles to ensure that no single client or tenant can use the service at the expense of others.

How do I check for errors in Azure? ›

Sign in to Azure portal. Go to Resource groups and select the deployment's resource group name. Select Activity log. Use the filters to find an operation's error log.

Which Azure tool is recommended to troubleshoot errors and performance bottlenecks? ›

PerfInsights is the recommended tool from Azure support for VM performance issues. It's designed to cover best practices and dedicated analysis tabs for CPU, Memory, and I/O. You can run it either OnDemand through the Azure portal or from within the VM, and then share the data with the Azure support team.

Which tool is used to connect Azure storage account? ›

Microsoft Azure Storage Explorer is a standalone app that makes it easy to work with Azure Storage data on Windows, macOS, and Linux. In this article, you'll learn several ways of connecting to and managing your Azure storage accounts.

Which tool is used to connect to Azure storage account remotely? ›

One such tool is Azure Storage Explorer. This is quite a complete tool that provides: Easy registration and browsing between multiple storage accounts. Access to containers, queues, and tables.

What tools work for troubleshooting in Azure cloud services? ›

  • Compressor.
  • Super Convertor.
  • Visitor Tracker.
Sep 28, 2022

How do I troubleshoot an API in Azure? ›

To access API Management Diagnostics, navigate to your API Management service instance in the Azure portal. In the left navigation, select Diagnose and solve problems.

How do I diagnose and detect in Azure? ›

Triage and diagnose an alert

You can also open the Azure portal, navigate to the Application Insights resource for your app, and open the Failures page. Clicking on 'Diagnose failures' will help you get more details and resolve the issue.

How do I troubleshoot Microsoft apps? ›

Run the troubleshooter: Select the Start button, and then select Settings > Update & Security > Troubleshoot, and then from the list select Windows Store apps > Run the troubleshooter.

How do I purge my Azure storage account? ›

10 Answers
  1. Go to the Windows Azure Management Portal.
  2. Click on Virtual Machines.
  3. Click on Disks.
  4. Click on the disk.
  5. Click on Delete Disk.

How do you handle throttling errors? ›

To prevent throttling errors:
  1. Reduce the frequency of the API calls.
  2. Stagger the intervals of the API calls so that they don't all run at the same time.
  3. Implement exponential backoff when making API calls.
  4. Consider moving to an event-based architecture.

How do I overcome API throttling? ›

Best practices to handle throttling
  1. Reduce the degree of parallelism.
  2. Reduce the frequency of calls.
  3. Avoid immediate retries because all requests accrue against your usage limits.
Dec 30, 2022

How do I find failed deployment errors? ›

View your in-progress, successful and failed deployments

On the Deployment History page, you'll be able to see in-progress, successful and failed deployments. For successful deployments, you can download the detailed deployment report. If the deployment failed, you can dive into the cause by clicking View errors .

How do I check for runtime errors? ›

Runtime error detection can identify defects that manifest themselves only at runtime (for example, file overwrites) and zeroing in on the root causes of the application crashing, running slowly, or behaving unpredictably. Defects commonly detected by runtime error detection include: Race conditions. Exceptions.

How do I find vulnerabilities in Azure? ›

From the Azure portal, open Defender for Cloud. From Defender for Cloud's menu, open the Recommendations page. Select the recommendation Machines should have a vulnerability assessment solution.

How do I run performance diagnostics in Azure? ›

Install and run performance diagnostics on your VM
  1. In the Azure portal, select Virtual machines.
  2. From the list of VM names, select the VM that you want to run diagnostics on.
  3. In the Help section, select Performance diagnostics.
  4. Select a storage account (optional) ...
  5. Select the Install performance diagnostics button.
Feb 8, 2023

What are two methods that detect threats in Azure? ›

Azure offers built in threat protection functionality through services such as Azure Active Directory (Azure AD), Azure Monitor logs, and Microsoft Defender for Cloud. This collection of security services and capabilities provides a simple and fast way to understand what is happening within your Azure deployments.

What is Azure Performance Diagnostics? ›

Azure Performance Diagnostics VM Extension helps collect performance diagnostic data from Windows VMs. The extension performs analysis, and provides a report of findings and recommendations to identify and resolve performance issues on the virtual machine.

What is the difference between storage account and blob storage? ›

What is the difference between blob and file storage? Azure Blob Storage is an object store used for storing vast amounts unstructured data, while Azure File Storage is a fully managed distributed file system based on the SMB protocol and looks like a typical hard drive once mounted.

How to check which storage account is used in Azure function? ›

Start by looking up your storage account name in your application settings. Either AzureWebJobsStorage or WEBSITE_CONTENTAZUREFILECONNECTIONSTRING contains the name of your storage account as part of a connection string. For more information, see App settings reference for Azure Functions.

How do I connect to blob storage Azure? ›

For the Blob path property, enter the name of the folder that you want to monitor. To find the folder name, open your storage account in the Azure portal. In the navigation menu, under Data Storage, select Containers. Select your blob container.

Which tool can be used to sync on premises file servers to Azure storage? ›

Use Azure File Sync to centralize your organization's file shares in Azure Files, while keeping the flexibility, performance, and compatibility of an on-premises file server. Azure File Sync transforms Windows Server into a quick cache of your Azure file share.

How do I transfer files to my Azure storage account? ›

You can also go to your Azure Storage account in Azure portal and select the Data transfer feature. Provide the network bandwidth in your environment, the size of the data you want to transfer, and the frequency of data transfer.

What are two Azure management tools that you can use? ›

In addition to the graphical user interface offered at the Azure Portal, we have the ability to manage and interact with Azure via Azure Powershell, Azure Command Line Interface (CLI), Azure Cloud Shell, and the Azure Mobile Application available on iOS and Android platforms.

What are the 3 main DevOps tools that Microsoft Azure offers? ›

On-premises Azure DevOps Server provides three access levels: Stakeholder, Basic, and Basic + Test Plans.

What is the difference between Azure Monitor and application Insights? ›

Application Insights is an extension of Azure Monitor and provides application performance monitoring (APM) features. APM tools are useful to monitor applications from development, through test, and into production in the following ways: Proactively understand how an application is performing.

How do you handle API request errors? ›

The simplest way we handle errors is to respond with an appropriate status code. Here are some common response codes: 400 Bad Request – client sent an invalid request, such as lacking required request body or parameter. 401 Unauthorized – client failed to authenticate with the server.

How do I fix API error? ›

To troubleshoot this API error, start by verifying that the URL is correct. It's also important to check the API documentation to make sure that you're using the correct data parameters with your requests. Finally, contact your API provider for further assistance if all else fails.

How do I debug API issues? ›

I'll demonstrate these debugging examples in Postman, but feel free to use your favorite developer tool or API client.
  1. Isolate the API issue. ...
  2. Check the status messages. ...
  3. Inspect the data more deeply. ...
  4. Brute force strategy. ...
  5. Backtracking strategy. ...
  6. Divide-and-conquer strategy.
Feb 28, 2022

How do I monitor an Azure application? ›

Monitoring quotas and metrics in the Azure portal

To review the status of the various quotas and metrics that affect an app, go to the Azure portal. To find quotas, select Settings > Quotas.

How do I test my Azure blob storage? ›

Run tests on your local machine
  1. Install the latest version of Python.
  2. Install Azure Storage Explorer.
  3. Install and run Azurite: ...
  4. In Azure Storage Explorer, select Attach to a local emulator.
  5. Provide a Display name and Blobs port number to connect Azurite and use Azure Storage Explorer to manage local blob storage.
Sep 23, 2021

What are Azure storage accounts? ›

An Azure storage account contains all of your Azure Storage data objects: blobs, files, queues, and tables.The storage account provides a unique namespace for your Azure Storage data that's accessible from anywhere in the world over HTTP or HTTPS.

How do you run the troubleshooter? ›

Select Start > Settings > Update & Security > Troubleshoot, or select the Find troubleshooters shortcut at the end of this topic.

How do I know if my apps are hanging or crashing? ›

How to fix Hanging or crashing apps in Windows Store Apps troubleshooter?
  1. Fix 1. Run SFC and DISM scans.
  2. Fix 2. Check Time and Date settings.
  3. Fix 3. Clear Store cache.
  4. Fix 4. Reset Microsoft Store.
  5. Fix 5. Try Clean Boot.
  6. Fix 6. Reset your apps.
  7. Fix 7. Reset your PC.
  8. Access geo-restricted video content with a VPN.
Feb 1, 2023

What does Microsoft troubleshooter do? ›

The Program Install and Uninstall troubleshooter helps you automatically repair issues when you're blocked from installing or removing programs. It also fixes corrupted registry keys. First, you'll need to download the troubleshooter.

How do I trigger Azure function from storage account? ›

The function is triggered by the creation of a blob in the test-samples-trigger container. It reads a text file from the test-samples-input container and creates a new text file in an output container based on the name of the triggered file.

How do I restore soft delete in Azure storage? ›

To restore a soft-deleted blob in the Azure portal when blob versioning is not enabled, first display the blob's properties, then select the Undelete button on the Overview tab. Restoring a blob also restores any snapshots that were deleted during the soft-delete retention period.

How do I delete data from blob storage? ›

The blob is later deleted during garbage collection. Note that in order to delete a blob, you must delete all of its snapshots. You can delete both at the same time with the Delete Blob operation.

What are the signs of throttling? ›

Signs of Internet Throttling
  • Certain websites are blocked or are nonfunctional.
  • Download speeds have slowed.
  • Specific websites or services are slower than others.
  • Videos are buffering or lagging.
  • Your internet speeds are slower than usual.
  • Your Wi-Fi connection is choppy or broken.
Jan 30, 2023

How do I prevent ThrottlingException or rate exceeded errors? ›

To prevent or mitigate "ThrottlingException" or "Rate exceeded" errors, try the following troubleshooting steps:
  1. Reduce the frequency of the API calls.
  2. Stagger the intervals of the API calls so that they don't all run at the same time.
  3. Use APIs that return more than one value.

What is throttling in Azure? ›

Throttling happens at two levels. Azure Resource Manager throttles requests for the subscription and tenant. If the request is under the throttling limits for the subscription and tenant, Resource Manager routes the request to the resource provider.

How do I make my API response faster? ›

Caching is one of the best ways to improve API performance. If you have requests that frequently produce the same response, a cached version of the response avoids excessive database queries. The easiest way to cache responses is to periodically expire it, or force it to expire when certain data updates happen.

How many API requests is too many? ›

General quota limits

10 queries per second (QPS) per IP address. In the API Console, there is a similar quota referred to as Requests per 100 seconds per user. By default, it is set to 100 requests per 100 seconds per user and can be adjusted to a maximum value of 1,000.

How to improve latency in API? ›

Optimizing for network latency
  1. Sending requests to the closest regional location.
  2. Compressing the response body.
  3. Sending warmup requests.
  4. Sending requests concurrently with HTTP/1.1 or HTTP/2.

How do I access Azure diagnostics? ›

Enable logging with the Azure portal
  1. Sign in to the Azure portal.
  2. In the Azure portal, navigate to All resources -> your-cdn-profile.
  3. Select the CDN endpoint for which you want to enable diagnostics logs:
  4. Select Diagnostics logs in the Monitoring section:
Feb 28, 2023

How do I get Azure diagnostic settings? ›

For a single resource, select Diagnostic settings under Monitoring on the resource's menu. For one or more resources, select Diagnostic settings under Settings on the Azure Monitor menu and then select the resource. For the activity log, select Activity log on the Azure Monitor menu and then select Diagnostic settings.

How do you detect and diagnose in Azure? ›

Triage and diagnose an alert

You can also open the Azure portal, navigate to the Application Insights resource for your app, and open the Failures page. Clicking on 'Diagnose failures' will help you get more details and resolve the issue.

How do I get application logs in Azure? ›

To enable application logging for Windows apps in the Azure portal, navigate to your app and select App Service logs. Select On for either Application Logging (Filesystem) or Application Logging (Blob), or both. The Filesystem option is for temporary debugging purposes, and turns itself off in 12 hours.

How do I debug an application gateway in Azure? ›

Enable logging through the Azure portal
  1. In the Azure portal, find your resource and select Diagnostic settings. ...
  2. To start collecting data, select Turn on diagnostics.
  3. The Diagnostics settings page provides the settings for the diagnostic logs. ...
  4. Type a name for the settings, confirm the settings, and select Save.
Mar 24, 2023

What is the difference between diagnostic settings and application insights? ›

There is no difference in the data. The data from Insights can be viewed directly as opposed to having to build the views over the data exported by Diagnostics Settings yourself.

What are Azure diagnostics? ›

The Azure Diagnostics VM extension enables you to collect monitoring data, such as performance counters and event logs, from your Windows VM. You can granularly specify what data you want to collect and where you want the data to go, such as an Azure Storage account or an Azure Event Hub.

How can you retrieve diagnostic logs from an Azure storage account? ›

The diagnostics logs are saved in a blob container named $logs in your storage account. You can view the log data using a storage explorer like the Microsoft Azure Storage Explorer, or programmatically using the storage client library or PowerShell.

What are Azure application Insights? ›

Application Insights is an extension of Azure Monitor and provides application performance monitoring (APM) features. APM tools are useful to monitor applications from development, through test, and into production in the following ways: Proactively understand how an application is performing.

How do I query Azure diagnostic logs? ›

In Azure portal > server, click Diagnostic settings in the left navigation, and then click Turn on diagnostics. In Diagnostic settings, specify the following options: Name. Enter a name for the logs to create.


1. Stored Access Policy Vs Shared Access Signature (SAS) - Azure Blob Storage Access Permissions
(Scott Duffy @ GetCloudSkills)
2. Azure APP Service "Access Restriction" !!!(Part 4)
(Girish Sharma)
3. Troubleshoot Permissions issues (enable inheritance) in Azure AD Connect during synchronization
(Microsoft Helps)
4. How to securely access Azure Storage Accounts - enhancing security
5. Time to work on your ABS, Azure Blob Storage that is!
(Erik Hougaard)
6. Troubleshooting apps in Azure App Services
(Tahir Rauf)


Top Articles
Latest Posts
Article information

Author: Terence Hammes MD

Last Updated: 26/05/2023

Views: 5823

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Terence Hammes MD

Birthday: 1992-04-11

Address: Suite 408 9446 Mercy Mews, West Roxie, CT 04904

Phone: +50312511349175

Job: Product Consulting Liaison

Hobby: Jogging, Motor sports, Nordic skating, Jigsaw puzzles, Bird watching, Nordic skating, Sculpting

Introduction: My name is Terence Hammes MD, I am a inexpensive, energetic, jolly, faithful, cheerful, proud, rich person who loves writing and wants to share my knowledge and understanding with you.