Hey all, I was able to get Directory Migration (preview) working earlier today to unjoin AD and join AAD but the profile was not mapping because it didn’t know which email to map to. (I have a normal email address and admin address that is very similar). I changed the domain account name to something extremely similar to my normal email to see if I could get it working and tried a couple different username variations to make sure that there wasn’t a special character messing with the code however now every time I try to run that deployment I get this error:
Set script failure reason: Global script ‘Directory Migration’ had a terminating error when run in Set mode
Aborting migration. There was an error migrating C:\Users\FirstNameLastName
Set-UserProfileOwner:
Line |
1038 | … ProfilePath $UserProfile.ProfilePath -SID $DestinationUserSID -ErrorA …
| ~~~~~~~
| Cannot process argument transformation on parameter ‘SID’. Cannot convert value to type System.String.
Does anyone have any thoughts or experience with this that could assist? The plan is to use this to migrate a client away from AD and into AAD in the near future and I would really like to know if this is going to work correctly after we set up Azure AD Sync.
TIA!