Hi anonymous user
It will help your question, refer to the below url
https://model-technology.com/blog/azure-automation-runbook-to-interact-with-on-prem-sql-via-hybrid-runbook-worker/
If the Answer is helpful, please click Accept Answer
and up-vote, this can be beneficial to other community members.