O365: Unterschied zwischen den Versionen

Aus Meine Wiki
Zur Navigation springen Zur Suche springen
Zeile 2: Zeile 2:
 
:[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://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]
  Start-ADSyncSyncCycle –PolicyType Delta
+
: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
 +
 
 
:[https://docs.microsoft.com/de-de/microsoft-365/enterprise/prepare-a-non-routable-domain-for-directory-synchronization?redirectSourcePath=%252fen-us%252farticle%252fHow-to-prepare-a-non-routable-domain-such-as-local-domain-for-directory-synchronization-e7968303-c234-46c4-b8b0-b5c93c6d57a7&view=o365-worldwide#what-if-i-only-have-a-local-on-premises-domain UPN-Suffix für alle Benutzer]  
 
:[https://docs.microsoft.com/de-de/microsoft-365/enterprise/prepare-a-non-routable-domain-for-directory-synchronization?redirectSourcePath=%252fen-us%252farticle%252fHow-to-prepare-a-non-routable-domain-such-as-local-domain-for-directory-synchronization-e7968303-c234-46c4-b8b0-b5c93c6d57a7&view=o365-worldwide#what-if-i-only-have-a-local-on-premises-domain UPN-Suffix für alle Benutzer]  
 
  Wählen Sie auf der Registerkarte "Konto" in der Dropdownliste des UPN-Suffixes das neue UPN-Suffix aus.  
 
  Wählen Sie auf der Registerkarte "Konto" in der Dropdownliste des UPN-Suffixes das neue UPN-Suffix aus.  

Version vom 11. September 2021, 09:38 Uhr

Lokales AD mit Office 365 synchronisieren
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}