IT tutorials
 
Technology
 

Microsoft Exchange Server 2013 : Site mailboxes (part 2) - How site mailboxes work - Synchronization between Exchange and SharePoint

3/1/2014 2:40:52 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Synchronization between Exchange and SharePoint

Exchange synchronizes with SharePoint by using the SharePoint REST API to fetch the metadata used to display information about documents stored in the site mailbox, including document title, author, last modified date, checked-out status, and the user who last modified the item. Information held in the documents library is synchronized and presented alongside all the other folders in the site mailbox so that the data from the two sources seems as though it originates from a common repository. Items added to a document library through Outlook appear in italics to indicate that the synchronization is not yet complete. In other words, the item has been added to the Exchange mailbox but not yet copied (or published) to SharePoint. After SharePoint has accepted the item and stored it in the document library, the italics are removed and not displayed by Outlook.

If you add more than one document library to the SharePoint quick launch menu, Exchange will synchronize the items from each library into a separate folder. As used in the example discussed here, the default name for a document library on a SharePoint site is Documents, and this is the folder name seen in Outlook. The library could also be called Shared Documents, Project Documents, or whatever other name you assign to it.

In general, the synchronization process between Exchange and SharePoint is reasonably fast, and new items added through one interface appear in the other soon after they are added. If you add a new document library through SharePoint, it will soon appear as a folder in Outlook. Likewise, if you drag an item from Windows Explorer or File Explorer and drop it into the Outlook folder, the item will be synchronized to the SharePoint site within a few minutes. The same is true if you drag and drop items from other Outlook folders into the site folder. You can even create a subfolder for the site folder in Outlook, and it synchronizes with SharePoint. Items placed in the subfolder will also be synchronized with SharePoint. All of this works very well and makes the site mailbox a very approachable repository for anyone who knows how to work with Outlook. The sole downside is that you cannot drag items out of any folder that is synchronized with SharePoint to Windows Explorer (or File Explorer) or another Outlook folder; traffic is unidirectional—into the folder. In addition, if you forward or otherwise reference an item shored in a synchronized folder, the item is not sent as an attachment. Instead, a link to the SharePoint site is embedded in the message to allow the recipient to access the content by clicking the link.

Synchronization is user-driven. In other words, although information about a new site or document library or changes to site membership need to be updated as quickly as possible, information about the contents of a document library might not be so time-critical, especially for document libraries that are not updated very often. To make sure that Exchange and SharePoint remain synchronized, a timer job runs on the Exchange mailbox servers every six hours to make a request to SharePoint for information about new members, documents, and so on. However, if a site is actively used (documents or members are added), Exchange synchronizes with SharePoint every five minutes, and if a site is open in either SharePoint or Outlook, synchronization occurs every fifteen minutes even if items are not added or otherwise updated.

Failure of items to appear in a timely manner in either Exchange or SharePoint is an indication that something is wrong with the synchronization process. If this happens, you can check the last synchronization status by selecting the site mailbox in Outlook. Right-click it and select Site Mailbox Properties from the menu. This leads to a webpage (using EAC) that shows information about the site mailbox, including a Sync Status option. Here you’ll find the date and time of the last successful synchronization together with any error messages plus options to start synchronization. A useful Email Me Details option is provided that requests Exchange to send you a message containing some diagnostic information about the synchronization.

SharePoint document name limitation

Exchange is perfectly happy to have multiple items with the same name in its folders. SharePoint is not so happy because it requires documents to have unique names. If you attempt to add a new item to a document library from Outlook, and the item already exists, everything will seem to be okay for a moment until SharePoint realizes that Exchange is attempting to publish an item that it cannot deal with. SharePoint will then drop the item and send the equivalent of a nondelivery notification (including an attachment with the failed item) back to the user to tell her that a SharePoint Server Exception has occurred because “the document already exists.” The failure is also noted in the Sync Issues folder of the site mailbox. The solution is to copy the item to Windows, rename it there, and then drag and drop the renamed file into Outlook. SharePoint will be much happier when Outlook synchronizes with the document library, and all will be well. The process is not perfect, but it works.

Information about each document is stored as properties of a stub item in the folder used to represent the document library in the site mailbox, including the URL pointing to the item in SharePoint. If you examine the contents of the Documents folder by using MFCMAPI, you can see the properties of the SharePoint items that Exchange synchronizes. When Outlook connects to the site mailbox, it retrieves data about email items from other folders as usual and uses the stub items in the Documents folder to construct the view of the information held in SharePoint.

Using stub items enables Outlook to have faster display access to items in the document library. When Outlook needs to retrieve content for an item held in SharePoint, it passes the URL of the item to the native application for the item. The application checks the Office Document Cache to determine whether an offline copy exists or whether it needs to retrieve a copy from SharePoint. A local copy might exist in the PC’s local cache or because of a previous synchronization with the document library to create an offline copy. When the correct location for the content is determined, the application retrieves and opens the item. As far as the application is concerned, it has received a request to open and process content and does not care about its source. Although it is usual to store mail messages in Exchange rather than in a document library, you can move messages to a document library for purposes such as marking the messages as immutable records. Messages are stored in document libraries as .msg files, and Outlook opens these items. Logically, if you open an item such as a Word document or a PowerPoint presentation that is checked out to another user, you will not be able to update the content.

Synchronization only goes so far

You are probably used to the per-item read status map Exchange maintains to show users which items they have viewed and which they have not within a folder. Synchronization to make items in a document library visible to Outlook does not preserve such a status. For instance, if you add a new item to a document library in SharePoint, Exchange will subsequently synchronize it, and it will appear as an item in Outlook. However, the item is bolded, which is the normal convention that indicates a new item in a folder. The item is new to other users, but it’s certainly not new to you because you just added it to SharePoint.

Figure 1 shows how items in a site mailbox are accessed through Outlook 2013. In this case, a site mailbox called Project Alpha is open. The Inbox, Deleted Items, and Junk Email folders are stored in a mailbox database that Exchange manages. The view of items in the Documents folder is constructed from the stub items. The properties synchronized to the stub items from SharePoint are sufficient to present an informative view to the end user.

An annotated screen shot showing how Outlook displays the items in the Documents library from a site mailbox called Project Alpha. The items in the Documents folder have been synchronized from the library on the SharePoint site.

Figure 1. How Outlook 2013 displays a site mailbox and its contents

If you run the Get-MailboxFolderStatistics cmdlet to report on information held in a site mailbox, it reports the number of items and the size of the items held in the Documents folder. The number of items is correct, but the item size represents only the much smaller stub items that hold the properties describing the real documents that are synchronized from SharePoint.

Because Outlook provides the interface for site mailboxes, some of the advanced document management features available within SharePoint are not exposed. For example, you can’t see prior versions of documents that are stored on the SharePoint site with Outlook, and you can’t check out a document to reserve it against editing by other users. These features are available by connecting to the underlying SharePoint site with a browser. The easiest way to access the underlying site for a document library is to select the library in Outlook, right-click it, and select Open In Web Browser from the menu. Figure 2 illustrates the situation after you have connected to the same Project Alpha site as accessed through SharePoint through a browser. The same items Outlook presents in the Documents folder are visible, but now some additional options such as document checkout are available because the web interface supports the options.

A screen shot of the contents of the documents library on the SharePoint site accessed through Internet Explorer. The same items are present, and extra processing options are available through SharePoint.

Figure 2. The same site viewed through Microsoft Internet Explorer

Accessing information about site mailboxes from Outlook

If you right-click your mailbox name at the top of the folder list, you see Manage All Site Mailboxes listed in the menu. Selecting this option causes Outlook to make a call to EAC to display the My Site Mailboxes page, listing the site mailboxes to which you have access. The list is displayed on a webpage rather than by Outlook. The following fields are shown:

  • Show In Outlook. Typically, this check box is selected, meaning that Outlook should open the site mailbox and display its contents. If you clear the box, the site mailbox will be removed from the Outlook list of resources. Selecting the box again restores matters, and the site mailbox will reappear.

  • Name. This is the name of the site mailbox.

  • Your Role. This will be Owner if you created the site mailbox or Contributor if the site mailbox has been shared with you.

  • Active. This is a flag showing whether the site is still active.

The details pane for the selected site shows the SMTP address of the site mailbox, the URL to the SharePoint site, the list of owners, and the number of members. If you click a site, EAC retrieves and displays status data for the site. You can discover the current synchronization status and the list of users who have access to the site here.

Inside Out How many site mailboxes can Outlook open at one time?

Outlook 2013 is restricted to opening a maximum of 10 site mailboxes. The limitation exists for both usability and performance reasons. Having more than 10 site mailboxes listed in Outlook would make navigation very unwieldy and impose a large performance penalty on the client. Ten seemed to provide a good balance between the desire to make information available to users and the need to maintain performance. Exchange imposes the limitation by restricting Autodiscover to being able to include only 10 site mailboxes in the manifest that it returns to Outlook, so Outlook never knows that more site mailboxes might exist. If you have access to more than 10 site mailboxes, you can choose the mailboxes to open by choosing Manage All Site Mailboxes as previously described and selecting whatever mailboxes are required. After a short pause to allow Autodiscover to update Outlook, the selected mailboxes will appear in the resource list. Alternatively, select a site mailbox that you do not want to access anymore, right-click it, and select Close Site Mailbox from the menu. The site mailbox remains intact, but Outlook will no longer display it to you, again after a short pause to allow Autodiscover to update Outlook. A site mailbox that has been closed can be reopened by choosing Manage All Site Mailboxes.

Site mailboxes and Office 365

Site mailboxes are also available in many of the Office 365 plans Microsoft offers. Office 365 tenants might find it easier to adopt site mailboxes, if only because Microsoft takes care of all the heavy lifting to deploy and manage Exchange Online and SharePoint Online. All the tenant has to do before she can use site mailboxes is make sure that she uses Outlook 2013. In fact, the easiest way to review the functionality of site mailboxes and assess whether they offer value to your company is to take out a 30-day trial for an Office 365 plan that includes site mailbox functionality and use that tenant domain to test how site mailboxes work.

 
Others
 
- Microsoft Exchange Server 2013 : Site mailboxes (part 1) - How site mailboxes work
- Microsoft Exchange Server 2013 : Migration to modern public folders
- Microsoft Exchange Server 2013 : Migration to modern public folders
- Windows 8 : Using Secure Boot and SmartScreen Filter
- Windows 8 : Configuring network discovery and wireless security (part 2)
- Windows 8 : Configuring network discovery and wireless security (part 1) - Creating network discovery profiles
- Sharepoint 2013 : Search for People (in SharePoint Server)
- Sharepoint 2013 : Use the Advanced Search (in SharePoint Server)
- Sharepoint 2013 : Search Using the Search Center
- Sharepoint 2013 : Search for Documents and List Items
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us