How can I automate adding computers to Entra ID?

January 22, 2026 3 answers
Asked by TechyTurtle92
I'm looking for ways to automate the addition of computers to an Entra ID in a 365 tenant using NinjaOne. I want to write a script for registering the computers, but I'm struggling to find clear documentation on how to achieve this. Any guidance would be greatly appreciated!

Answers

ScriptWizard55
You might want to check out the Microsoft documentation on provisioning packages. They're designed to help with automating configurations, which could be useful for your situation. Hereโ€™s the link: https://learn.microsoft.com/en-us/windows/configuration/provisioning-packages/provisioning-packages.
Reply to this answer
CloudSeeker77
Just to clarify, are you looking to register the computers instead of joining them? That could change the approach you take to automate this.
Reply to this answer
TechyTurtle92
Yes, I meant join, sorry for the mix-up!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions