Avatar of Joe Granja
Joe GranjaFlag for United States of America

asked on 

Cannot find the script module ADSyncPrep needed to complete Azure AD Connect Upgrade

I just did an Azure AD Sync upgrade on our DC server (win2012 R2) and completed. However Microsoft forces you to exit after completion and gives this message

 "to sync your Windows 10 domain joined computers to Azure AD as registered devices, you need to

run Initialize-ADSyncDomainJoinedComputerSync in the script module ADSyncPrep for imprimis.local

I'm having trouble completing this since I don't know where script module is for ADSyncPrep to run the script. Very litle information on the web
locating ADSyncPrep. Can you help explain what I need to run? that intialize command does not run in Powershell.
Screenshots-of-Azure-AD-Connect-upg.docx
Windows 10Windows OSAzure

Avatar of undefined
Last Comment
Seth Simmons
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

It's part of the AAD Connect install, try locating it in the "C:\Program Files\Microsoft Azure Active Directory Connect\AdPrep" dir.
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Joe Granja
Joe Granja
Flag of United States of America image

ASKER

Hi,

I've tried to do this.  " to import the module and then fire up command" Does the AdSyncPrep.psm1 file run directly in PowerShell. What is the command to import? I also looked at Azure AD Health status and its shows a sync error, plus says it requires Microsoft Azure AD Premium so I'll need to talk to my reseller on this add-on and cost

Thanks for the feedback

Joe
Avatar of Mahesh
Mahesh
Flag of India image

yes, it will run from elevated powershell on ad sync server

The article posted above already provides command to import and register SCP

u just need to ensure that you logged on to ad sync server with account having domain admins and enterprise admins member
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: 'Mahesh' (https:#a42541185)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer
Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo