Forum Discussion

AzAdmin89's avatar
AzAdmin89
Copper Contributor
Jun 15, 2023

Azure function Start-Stop-V2 ignores ResourceGroups

Hello,

 

Microsoft pushes customers to use Start-Stop-V2 for scheduled starting and stopping machines. This new functionality is based on Azure Functions, not based on automation accounts and runbooks.

 

Unfortunately, the Azure Function provided by Microsoft (deployed from marketplace) does not work properly. This function ignores the property ResourceGroups and starts all VMs within a subscription, instead of starting only the machines within the given ResourceGroups.

 

An exact description of the problem can be found here:

"ResourceGroups" seems to be ignored · Issue #90 · microsoft/startstopv2-deployments (github.com)

 

Updating / redeploying the function over github is also broken. Microsoft pushes the customers to a broken function without support. The function should be furthermore supported over Github, but isn't.

 

Did anybody resolve this issue (e.g. by updating the function, but how?)

Or has anybody found another solution, except of filtering machine names?

No RepliesBe the first to reply

Resources