SQL MI Auditing using ODBC module

12 views
Skip to first unread message

Gowtham SM

unread,
Feb 8, 2022, 10:39:37 AM2/8/22
to ansible...@googlegroups.com
Dear Team,

I am trying to configure auditing in Azure SQL  managed instance server as per below article,


But facing an issue that ALTER SERVER AUDIT statement cannot be used inside a user transaction though, I have mentioned commit as False in the playbook tasks. I have tried executing same from SQL studio with same user access and able to configure it successfully. Can someone please help how to fix this issue or any other alternate approach ?

I am using community.general.odbc module

Thanks & Regards,
Gowtham SM

Reply all
Reply to author
Forward
0 new messages