I want to use an azure automation account to connect to a service fabric cluster and run a health check. I'm struggling with establishing a connection to the cluster because the service fabric sdk is not present.
Is there a way to use the service fabric powershell cmdlets in an azure automation runbook?
You could import
AzureRM.ServiceFabric 0.2.4
module to Azure automation account. Open the link https://www.powershellgallery.com/packages/AzureRM.ServiceFabric/0.2.4 and clickDeploy to Azure Automation
. Then, you could use some Service Fabric PowerShell cmdlets.Another solution is using Hybrid Runbook Worker.
You could install fabric cluster SDK on your local, and use Runbook worker to execute it.