O365: Unterschied zwischen den Versionen

Aus Meine Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
  
 
:[https://www.codetwo.de/blog/lokales-active-directory-mit-office-365-synchronisieren/4883 Lokales AD mit Office 365 synchronisieren]
 
:[https://www.codetwo.de/blog/lokales-active-directory-mit-office-365-synchronisieren/4883 Lokales AD mit Office 365 synchronisieren]
 +
:[https://365tips.be/de/hoe-start-je-een-azure-ad-synchronisatie/ Tips 365]
 
:[https://www.codetwo.com/admins-blog/how-to-sync-on-premises-active-directory-to-azure-active-directory-with-azure-ad-connect/ How to sync on promises AD tu Azure AD with Azure AD connect]
 
:[https://www.codetwo.com/admins-blog/how-to-sync-on-premises-active-directory-to-azure-active-directory-with-azure-ad-connect/ How to sync on promises AD tu Azure AD with Azure AD connect]
 
:Powershell:  
 
:Powershell:  

Version vom 11. September 2021, 08:40 Uhr

Lokales AD mit Office 365 synchronisieren
Tips 365
How to sync on promises AD tu Azure AD with Azure AD connect
Powershell:
To initiate a Delta Sync, open Windows PowerShell and run:
Start-ADSyncSyncCycle -PolicyType Delta
To initiate a Full Sync, open Windows PowerShell and run:
Start-ADSyncSyncCycle -PolicyType Initial
UPN-Suffix für alle Benutzer
Wählen Sie auf der Registerkarte "Konto" in der Dropdownliste des UPN-Suffixes das neue UPN-Suffix aus. 
$LocalUsers = Get-ADUser -Filter "UserPrincipalName -like '*contoso.local'" -Properties userPrincipalName -ResultSetSize $null
$LocalUsers | foreach {$newUpn = $_.UserPrincipalName.Replace("@contoso.local","@contoso.com"); $_ | Set-ADUser -UserPrincipalName $newUpn}