Forum Discussion

Jason Benway's avatar
Jason Benway
Iron Contributor
Aug 22, 2019
Solved

Move-csuser failes to find user in AD

this past weekend I updated to CU10 for skype 2015 so we could move our users directly to Teamsonly.

 

Move-CsUser -DomainController dc.domain.com -Identity $user -Target sipfed.online.lync.com -Credential $cred -HostedMigrationOverrideUrl $url -Confirm:$false -MoveToTeams

I'm trying to use the above command to move the users. I get an error 201, can't find user in AD with SIP URI sip:user@domain.com

 

I get use get-csuser with the UPN,SIP, and full name and it will find and display all the information. I've tested with two different accounts and get the same issue. I tried moving one through the GUI and it worked great. So the process itself works, I just need to get powershell working so I can script a larger number of users after training.

 

all the online references to the 201 error seem to point to AD attributes not replicating to Azure AD. But if that was the case I would assume the GUI wouldn't work then.

 

I've tried pointing at a different DC same error.

 

Posting it here because the users are still on Skype 2015.

 

thanks.jb

Resources