I came across this article as I am also looking to use automation for Analytics and Data Connectors. https://charbelnemnom.com/update-microsoft-sentinel-analytics-rules/#:~:text=In%20this%20step%2C%20you%20create,the%20Runbook%20into%20Azure%20Automation.