How to connect to an on-premise SQL Server from Azure Powershell runbook?

Avireni, Upendar (Cognizant) 1 Reputation point
2021-05-23T07:42:40.217+00:00

I want to export SQL Server 2016 query output into Azure blob storage account. Part of this I need to establish connection between our company SQL Server 2016 in an Azure Powershell runbook.

Could anyone suggest on how can I achieve this?

Thanks,
Upendar

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,175 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 14,016 Reputation points MVP
    2021-05-23T08:10:57.157+00:00

    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.