ssms audit for azure db

Anusha S Raj 21 Reputation points
2022-05-11T20:00:12.453+00:00

Hi,

I have an azure Database which did not have audit enabled. Is there any way I can get the user login history or audits from system views or tables?

Azure Database for MySQL
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Answer accepted by question author
  1. GeethaThatipatri-MSFT 29,587 Reputation points Microsoft Employee Moderator
    2022-05-11T22:08:00.847+00:00

    Hi, @Anusha S Raj Welcome to Microsoft Q&A, Thanks for posting your query.
    Yes, you should be able to identify the specific query by providing the contains of the query in the 'statement' of Audit log fields by querying in log analytics.
    For more information on querying log analytics on where you can find sample codes, please go through the link below:

    AZURE SQL DB AND LOG ANALYTICS BETTER TOGETHER – PART #1 - Microsoft Tech Community

    To find more information regarding the Audit log fields please go through the link below:

    SQL Database audit log format - Azure SQL Database | Microsoft Learn

    Hope the above information helps.

    Please let me know if you are facing any issues,

    you can enable the option from the portal in server blade under security.

    201178-image.png

    Regards
    Geetha

    1 person found this answer helpful.

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.