GithubHelp home page GithubHelp logo

For mass deployment scenarios handle errors without failing e.g where a workspace doesn't exist and -removeMMA is specified about mdefordownlevelserver HOT 3 CLOSED

microsoft avatar microsoft commented on June 10, 2024 1
For mass deployment scenarios handle errors without failing e.g where a workspace doesn't exist and -removeMMA is specified

from mdefordownlevelserver.

Comments (3)

pahuijbr avatar pahuijbr commented on June 10, 2024

Suggest not using the -RemoveMMA parameter to deal with this situation: when installing the new package, even if the workspace configuration is still present, we automatically transition the machine to the new sensor and the workspace is no longer used.

from mdefordownlevelserver.

lltltk avatar lltltk commented on June 10, 2024

I would like to second this request.
I wish to use this script for scenarios where the MMA agent may have been deployed with the MDE workspace, or where the MMA agent may have been deployed with another Log Analytics workspace which does not need to be removed (from MDE point of view, this would be a first-time onboard).
The logic in this script is already well-written to cover both scenarios, and I don't want to have to implement additional logic to decide whether to invoke Install.ps1 with or without the -RemoveMMA parameter.
It would be nice to just invoke it with the -RemoveMMA parameter always, and let the script ignore the situation where that workspace does not exist.

from mdefordownlevelserver.

pahuijbr avatar pahuijbr commented on June 10, 2024

-removeMMA is optional; the workspace does not need to be removed. If you install leaving the workspace in place, Sense will simply stop using it.

Suggest not using this option for mass deployment if the existing situation is unknown. To perform cleanup, suggest uninstalling the MMA instead if no other workspaces are used (for other purposes).

from mdefordownlevelserver.

Related Issues (20)

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.