Giter Club home page Giter Club logo

create-automation-windows-hybridworker's Introduction

Create Automation Windows HybridWorker

This runbook aids users in Creating Windows User Hybrid workers. This script must be executed on a Identity Enabled Automation Account only.
This would require the following modules to be present in the Automation account :
Az.Accounts, Az.Resources, Az.Automation, Az.OperationalInsights, Az.Compute

The script could even create (if needed) a Log Analaytics Workspace and also a VM to be registered as User Hybrid worker.

create-automation-windows-hybridworker's People

Contributors

krmanupa avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

create-automation-windows-hybridworker's Issues

Error running VM extension - Can not perform requested operation on nested resource

Hi,

I get the following error when trying to run this to onboard an existing VM to an existing Log analytics workspace:

The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Error registering the HW : HWG Creation :: Error running VM extension - Can not perform requested operation on nested resource. Parent resource 'rr-vm-02' not found. ErrorCode: ParentResourceNotFound ErrorMessage: Can not perform requested operation on nested resource. Parent resource 'rr-vm-02' not found. ErrorTarget: StatusCode: 404 ReasonPhrase: Not Found OperationID : 48de2580-19a8-4999-898a-8ec7934c2a30

I also tried to run this without an existing VM, to create a new VM and get the below error:

The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: HWG Creation :: Error creating VM : Error Creating VM

Any ideas?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.