Default / OOTB behavior of SharePoint Document’s Metadata Sync / Document Parser

Pros and Cons of Disabling Sync or Document Parser

Pros:

Cons:

If you disable Sync as of today and enable it in future

Pseudocode to disable or enable Sync or Document Parser

Document metadata sync is bi-directional (SharePoint Online to MS Office Files and MS Office Files to SharePoint Online):

To Disable Sync or Document Parser use this –

$list = $ctx.Web.Lists.GetByTitle($ListName)

$ctx.Load($list)
$ctx.ExecuteQuery()

$list.ParserDisabled = $true
$list.Update()
$ctx.ExecuteQuery()

Write-Host "Disabled"

To Enable Sync or Document Parser use this –

$list = $ctx.Web.Lists.GetByTitle($ListName)

$ctx.Load($list)
$ctx.ExecuteQuery()

$list.ParserDisabled = $false
$list.Update()
$ctx.ExecuteQuery()

Write-Host "Enabled"

Recommendation / Best Practice