AUDIT SESSION CHANGED action causes login failed

Graham 41 Reputation points
2021-10-21T18:15:54.897+00:00

I have auditing enabled on my Azure SQL instance and I've noticed lately that whenever the AUDIT SESSION CHANGED action occurs, if a DB connection is attempted at that moment, it will fail with Login failed for user '<username>'. I've noticed this happening once a day in our logs when the audit session change occurs.

Is this expected behavior and we need to retry to connection or is there something else going on that I'm missing?

Thanks.

Azure SQL Database
{count} votes

Your answer

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