Share via

Unauthorized anonymous requests - are they charged?

Syine Mineta 20 Reputation points
2026-01-13T02:37:44.2633333+00:00

I cannot find any conclusive statement on this topic. What I've found so far are:

The first document talks about classic metrics, which is retired now. I'm assuming that, considering the transition, requests with following response types are not charged:

  • ClientThrottlingError, any Authentication
  • ServerOtherError, any Authentication
  • ServerThrottlingError, any Authentication
  • ServerTimeoutError, any Authentication
  • AuthorizationError, Authentication = Anonymous

What I want to know is whether requests to public endpoints with result "Response type" = "AuthorizationError" and "Authentication" = "Anonymous" are billed or not. I'm thinking they're supposed to be not, but there's no concrete documented fact that confirms this (in context of the new Azure Monitor metrics).

Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.

0 comments No comments

Answer accepted by question author
  1. Ganesh Patapati 11,835 Reputation points Microsoft External Staff Moderator
    2026-01-13T07:31:34.1333333+00:00

    Hello Syine Mineta

    From the Storage Analytics logged operations and status messages page:

    For AnonymousAuthorizationError (which corresponds to AuthorizationError with Authentication = Anonymous), the Billable value is No. This means anonymous requests that fail due to authorization errors were not billed under classic metrics

    In your case, if a request returns an "AuthorizationError" because it was made anonymously and without permits, it does not result in consumption of the Azure resources and thus should not incur charges. Usually, these unauthorized requests do not add to the count of successful transactions that are billed.

    For example, if the request is unauthorized and returns an error code (like 401), this generally indicates that the request was not valid and should not be charged. The relevant documents discuss that certain error responses to anonymous requests, such as "401 Unauthorized" and "404 Not Found," typically suggest that those requests have not been charged.

    Logged Request Status Messages

    The following table contains the status messages that are logged and reported in metrics data. A definition for each column is listed below:

    Status Message: The status message for a request logged by Storage Analytics. This value is included in log entries and is the name of a column in each Metrics table.

    Description: A description of the status message including HTTP verbs and status codes, if applicable.

    Billable: A yes/no value that indicates whether or not the request is billable. For more information on billing in Azure Storage, see Azure Blob Storage pricing.

    Availability: A yes/no value that indicates whether or not the request is included in the availability calculation for a storage service or a specific API operation. All unexpected errors result in reduced availability for the storage service or the specified API operation.

    Refer Document: Logged Request Status Messages


    I hope this has been helpful!

    If above is unclear and/or you are unsure about something add a comment below.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.