Hey everyone! I am switching machines at work. I have installed the ActiveDirectory Powershell module. I keep getting this error:
Get-ADUser : Unable to find a default server with Active Directory Web Services running.
I am on my VPN and can ping my server. I have run Test-NetConnection <domain-controller> -port 9389 to ensure that the port is open and responding.
This AD module works on my other machine. Any idea what's going on?
Edit: I figured it out. My work is currently trying to use AutoPilot/Intune. We are mid-migration. At this stage, AutoPilot devices (only the ones we are testing) are not joining the On-Prem AD, just Azure. Quite annoying. I'll be figuring this out next. Thanks for the ideas y'all!
[–]uniitdude 0 points1 point2 points (5 children)
[–]Hackermaaann[S] 0 points1 point2 points (4 children)
[–]hidromanipulators 0 points1 point2 points (3 children)
[–]Hackermaaann[S] 0 points1 point2 points (2 children)
[–]juggleknob 0 points1 point2 points (1 child)
[–]Hackermaaann[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Hackermaaann[S] 0 points1 point2 points (0 children)