Troubles Enrolling Server through Microsoft Defender
Hi,
I’m working on configuring Hybrid Azure AD Join for our domain-joined devices, and I've already set up Active Directory and Hybrid Azure AD. The next step I’m trying to take is enrolling devices through Microsoft Defender Settings > Endpoints > Onboarding. However, I’m running into an issue with the Intune Connector for Active Directory.
When I try to run the configuration script, I get the following error:
"Error Id: 65, Error Level: 2, Error message: Script is running with insufficient privileges. Please run with administrator privileges." I’ve ensured that I’m running the script with admin privileges, but the window flashes open and immediately closes. I’ve waited for a while and nothing happens, and it doesn't seem like the connector is functioning.
Here’s what I’ve done so far:
Installed Active Directory and Hybrid Azure AD and confirmed both are working.
Downloaded and installed the on-premises Intune Connector for Active Directory.
Verified that the server has active internet access and can reach the required Microsoft endpoints.
Ensured that CNAME records for MDM enrollment are configured in DNS.
Despite following these steps, I’m still facing issues with getting the connector to work. Any troubleshooting steps or guidance would be much appreciated!
Thank you in advance!