SharePoint 2013: SiteMailbox in Outlook not sync’ing document libraries

We’re using SharePoint 2013 Site Mailboxes to store and share important mail messages with our project teams. We noticed, that sometimes these mailboxes include document libraries from that SharePoint site, sometimes they don’t. Now we found the problem: if you enable the document libraries to be shown in the quicklaunch navigation, their content gets sync’ed with outlook. If you turn that feature off, the doc libraries will disappear.

However, we chose to turn this feature on. Because we have alot of sites, i wrote a short powershell script to do that. Please note, that you should check your quicklaunch navigation panels for duplicate entries now.

$spWeb = Get-SPweb "https://your.site.com"

	foreach($subSite in $spWeb.Webs)
		{
			foreach($list in $subSite.Lists)
			{
			 	if($list.BaseType -eq "DocumentLibrary") {
						$list.OnQuickLaunch = $true
						$list.Update()
				}
			}
		}

Hope this helps!

Advertisements
SharePoint 2013: SiteMailbox in Outlook not sync’ing document libraries

One thought on “SharePoint 2013: SiteMailbox in Outlook not sync’ing document libraries

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s