Forum Discussion

harshvir's avatar
harshvir
Copper Contributor
May 04, 2021

Cannot reuse the automation account for Strat-Stop off hours VMs.

Hello,

 

I am having an issue when I am starting to use the Azure Automation account to create Azure VMs off-hours Turnoff. Getting this error while setting this up. 

 

"The resource 'resource' already exists in location 'eastus' in resource group 'RG'. A resource with the same name cannot be created in location 'eastus2'. Please select a new resource name. When creating a Start and Stop solution."

2 Replies

    • harshvir's avatar
      harshvir
      Copper Contributor
      Thanks, hspinto,

      Actually, we have issues with the Azure Automation RunAs account. I have an idea about the naming convention but when we trying to set up Start/Stop solution for the VMs the Log Analytic workspace needed the RunAs account. By default the RunAs account set as the Azure Automation Account name. That is the reason I get this error. As per the MS it is set up like that way. They have been notified the Product team seems to be a bug in Start/Stop process. We are now waiting on the MS reply on this. Whatever the solution MS is suggest I will share with you.

Resources