This is a logic app custom connector for Azure Virtual Machines. It provides the following actions:
Action | Description |
---|---|
Restart | Restart a VM |
Start | Start a VM |
Deallocate | Deallocate and Stop a VM |
Power Off | Stop a VM (does not deallocate) |
Capture Image | Capture an image of a VM |
This connector does require authentication to Azure Active Directory. As such, deployment will require the client ID and client Secret for an AAD Application. These instructions will walk through how to register an Azure Active Directory application with User + app access so the connector can act on-behalf-of the authenticated user. Be sure to set your application up to get delegate access to the Windows Azure application.
After deploying, you will need to open the connector (named azure-vm-connector
in whichever resource group and location selected) and copy the redirect URL from the security tab. Update your Azure AD Application reply URLs to support the logic app consent flow.
You can deploy with the azuredeploy.json or by clicking the button below:
After deployment you can view the connector Azure VM
in any of the logic apps in the region you deployed the connector to. You can deploy this connector to as many regions as you require.