Troubles Enrolling Server through Microsoft Defender

Anonymous
2024-12-04T19:57:21+00:00

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!

Reply

Windows Server Devices and deployment

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-12-05T07:57:36+00:00

    Hello Kaleb Francoeur,

    thank you for posting on the Microsoft Community Forums.

    Based on the description, I understand that your issue is related to Microsoft Defender.

    Since there are no engineers dedicated to Microsoft Defender in this forum. In order to be able to deal with your questions quickly and efficiently, I recommend that you repost your questions in the Q&A forum, where there will be a dedicated engineer to provide you with a professional and effective response.

    Here is a link to the Q&A forum: https://learn.microsoft.com/en-us/answers/questions/

    Have a nice day.

    Best regards,

    Lei

    0 comments No comments