Jun 24 2020
- last edited on
Aug 03 2020
No, the companies should be separated onpremise and contos.com disappeas so I have
somecompany1.dom on premise with email@example.com
somecompany2.dom on premise with firstname.lastname@example.org
but i dont want a different User in AzureAD, when Jon is synced from somecompany1.dom to azure he should find its Onedrive and Teams stuff. Is it possible?
I thougt I took the: employeeID as another attribut for Unique Identify, but select how user should identify with Azure Ad, whats would here the best.
Jul 15 2020 05:03 PM
This is a way you could go about it:
2. Wait for your objects to get the status of cloud managed instead of synced
3. remove the imutableID of your cloud objects.
Get-MsolUser -All | Set-MsolUser -ImmutableId $null
$User = Get-ADuser $UserSamAccount -Properties * -server $DC $ImmutableID = [system.convert]::ToBase64String(([GUID]($User.ObjectGUID)).tobytearray())