Endpoint and StopAzureVM enhancements