Reporting on SAS Token Generation

sjasper 1 Reputation point
2020-11-09T15:48:42.913+00:00

Is there a way to create a report that lists the users that generate SAS tokens within a blob?

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
{count} votes

3 answers

Sort by: Most helpful
  1. Sumarigo-MSFT 47,506 Reputation points Microsoft Employee Moderator
    2020-11-10T06:30:10.693+00:00

    @sjasper-5546There is no direct way to fetch the user list who generated SAS token.
    38681-capture.png

    You can see an entry list this when the request is accessed via SAS / SAS is generated. However, you cannot rely on this all the time, because this entry you will get most of the time for many other operations not just for SAS creation
    ListAccountSAS and ListServiceSAS rest API is management plane operation and will not be captured in storage diagnostic logs.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    -----------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


  2. Alberto Ramon 21 Reputation points
    2024-02-18T20:30:14.1+00:00

    Hello @Sumarigo-MSFT Has been some update from 2020? or any alternative to monitor the creation of SAS token

    0 comments No comments

  3. Amrinder Singh 5,875 Reputation points Microsoft Employee Volunteer Moderator
    2024-02-23T05:56:04.8066667+00:00

    Hi @Alberto Ramon -

    Storage doesn't keep tracks of SAS token that has been generated as part of compliance since SAS are mainly confidential data. This is also documented in the link as well. So, unfortunately there isn't any option to track SAS token still.

    Let me know if there are any further queries and will be glad to assist.

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members


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.