US English (US)
GB English (UK)

Contact Sales

To contact our sales team, you can use the form below. Do not use this form for tickets or help desk, click here to create a ticket.

Please fill out the sales form below and we will reply as soon as possible.

Synchronise and migrate users and workstation between on-prem AD, Entra ID, Google the easy way. Seamlessly Move devices between AD Joined, Hybrid and Entra Joined.
  • Create ticket
English (US)
US English (US)
GB English (UK)
  • Home
  • Migration Agent

Win32Exception (1): Incorrect function.

Win32Exception (1): Incorrect function cause

Written by Neil Langston

Updated at July 19th, 2024

Contact Sales

To contact our sales team, you can use the form below. Do not use this form for tickets or help desk, click here to create a ticket.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
  • FAQs
  • API Documentation
  • Integrations
  • Migration Agent
  • Directory Synchronisation
  • Remote DC agent
  • Remote Password Sync Agent
  • Install and Configure
  • Support
  • Complex Expressions
+ More

Error:

Category: AgentBase
EventId: 0
 
Error calling GetAzureAdJoinInformation
 
Exception: 
System.ComponentModel.Win32Exception (1): Incorrect function.

Cause:

You have installed the migration agent on a machine which is not joined to an Azure/Entra domain or an Active directory domain. Currently we do not support WORKGROUP based migrations.

 

If you load cmd and perform a dsregcmd /status you will see this:

             AzureAdJoined : NO
          EnterpriseJoined : NO
              DomainJoined : NO

 

 

no title unnamed piece

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Migration Agent is not starting or registering on a device
  • "Is not null" and "is not empty" not working as expected.
  • Cannot manipulate targetValue in complex expression.

Subscribe to Newsletter

Drop your email in the box below to sign up. We promise to keep our updates relevant and useful – and we’ll never share your details.

PowerSyncPro is the ultimate product for easing the pain and frustration during mergers, acquisitions, divestitures, and consolidations.

Terms & Conditions

  • FAQs
  • Privacy Policy
  • Cookies
  • Anti Slavery Notice

PowerSyncPro

  • Case Studies
  • Contact sales
  • Meet the Team
  • EULA

Get Connected

Room 73, Wrest House, Wrest Park, Silsoe, Bedford, England, MK45 4HR
info@powersyncpro.com

Twitter Youtube Linkedin

Expand