Agent Procedure to Join an AzureAD machine to INTUNE?

Hello,
We have a new client who was already joined to AzureAD when e acquired them, but NOT using INTUNE, so I would like to enroll them, but really dont want to remove each machine from Azure and rejoin them.. or even if I could do this via procedure.. touching each machine would be difficult being as users are dispersed across several time zones/countries.
I have found a few scripts online, and played with them but could not get any of them to work. All machines are Windows 10 22H2 or Windows 11 22H2.
Comments
-
Have you looked at this script to see if it does what you're looking for?
0 -
I am not creating local users.. I am trying to join INTUNE from a machine which is already in AzureAD
0 -
I'm moving this to the “Request” category of our Automation Exchange since I think you may get better assistance there.
0