SharePoint Hybrid Content Types not syncing
So, Microsoft documentation regarding the configuration and management of hybrid content types (here, and here) is limited to say the least. Despite a fair amount of troubleshooting with authentication we appear to have a correct configuration. However no online content types are synced to on-prem.
Setup
1. Created a local content type in SP on-prem (Subscription edition).
2. Ran the PowerShell script to replicate the on-prem content type to online:
$credential = Get-Credential
Copy-SPContentTypes -LocalSiteUrl https://spserver/sites/contenttypehub -LocalTermStoreName “Managed Metadata Service” -RemoteSiteUrl https://domain.sharepoint.com/ -ContentTypeNames @(“ContentType”) -Credential $credential
NOTE 1: the required credential in this command is an Azure account with at least SharePoint Admin role.
NOTE 2: the command sends legacy authentication so the Azure account used MUST NOT HAVE MFA enabled. You may also need to ensure that the account authentication is not blocked by a Conditional Access rule, otherwise you get the misleading error “Copy-SPContentTypes : The sign-in name or password does not match one in the Microsoft account system.”
3. Ran the hybrid wizard to configure Taxonomy and Content Type Synchronisation.
All of the above was completed successfully.
– The on-prem content type was replicated to online.
– The hybrid wizard ran with no errors.
– The server timer job “Content Type Replication” runs on schedule or manually with no errors.
Problem
No online content types are synced to on-prem.
—
There is no documentation regarding how the ongoing timer job synchronisation works, i.e. which account and authentication it uses, which URL’s or ports it communicates on, whether it initiates a push from the cloud or pull from on-prem…
So, Microsoft documentation regarding the configuration and management of hybrid content types (here, and here) is limited to say the least. Despite a fair amount of troubleshooting with authentication we appear to have a correct configuration. However no online content types are synced to on-prem. Setup1. Created a local content type in SP on-prem (Subscription edition).2. Ran the PowerShell script to replicate the on-prem content type to online: $credential = Get-Credential
Copy-SPContentTypes -LocalSiteUrl https://spserver/sites/contenttypehub -LocalTermStoreName “Managed Metadata Service” -RemoteSiteUrl https://domain.sharepoint.com/ -ContentTypeNames @(“ContentType”) -Credential $credential NOTE 1: the required credential in this command is an Azure account with at least SharePoint Admin role.NOTE 2: the command sends legacy authentication so the Azure account used MUST NOT HAVE MFA enabled. You may also need to ensure that the account authentication is not blocked by a Conditional Access rule, otherwise you get the misleading error “Copy-SPContentTypes : The sign-in name or password does not match one in the Microsoft account system.” 3. Ran the hybrid wizard to configure Taxonomy and Content Type Synchronisation. All of the above was completed successfully.- The on-prem content type was replicated to online.- The hybrid wizard ran with no errors.- The server timer job “Content Type Replication” runs on schedule or manually with no errors. ProblemNo online content types are synced to on-prem. –There is no documentation regarding how the ongoing timer job synchronisation works, i.e. which account and authentication it uses, which URL’s or ports it communicates on, whether it initiates a push from the cloud or pull from on-prem… Read More