Microsoft Lystavlen - the Online display board

Lystavlen is the danish word for 'the display board'. This blog is all about sharing the beauty of Microsoft Online Services

Outlook Web App in SharePoint Online

Outlook Web App in SharePoint Online

  • Comments 5
  • Likes

Many SharePoint Online customers would like to be able to see Exchange Online data on their SharePoint Online pages (e.g  their inbox or their calendar). First thought would be to use the built-in Outlook Web App Web Parts.

However – if you read the “Outlook Web App Web Parts” paragraph in the Exchange Online Service Description p. 46, you’ll learn that

Exchange Online supports Outlook Web App Web Parts via the PageViewer control in Microsoft SharePoint Online and Microsoft SharePoint Server, or via manually configured URLs. Built-in SharePoint OWA Web Part controls will not work against Exchange Online

Here is how you can display your Exchange Online data in SharePoint Online.

Step 1: Add the “Page Viewer” web part on a page

  1. Go to the page you want to add the web part to
  2. In the ribbon click Edit tab > Insert  tab > More Web Parts button
  3. In the the web part adder select the Media and Content  category > Page Viewer  web part > Add button

 

Step 2: View Outlook Web App segments in the web part

  1. Click open the tool pane in the new Page Viewer web part
  2. Type an URL like the following
    https://db3prd0206.outlook.com/owa/?exsvurl=1&cmd=contents
    in the Link text box, where the highlighted part must be your own mailserver (see notes below)
  3. Your inbox is now available on your SharePoint Online page

Notes

  • To determine your server name
    • Go to your Office 365 portal home page here: https://portal.microsoftonline.com/IWDefault.aspx 
    • Then click on “Outlook” at the top middle of the page. This brings you to your personal Outlook Web App where you can determine your server name to help build out your preferred URL to plug into the “Page Viewer” web part.
  • The URL of Outlook Web App in Exchange Online must have an exsvurl=1 in the webpart URL in order to make the web part work (https://db3prd0206.outlook.com/owa/?exsvurl=1&cmd=contents)
  • UPDATE June 6, 2012
    if the above approach results in your Page Viewer web part displaying "This content cannot be displayed in a frame", and you must log into OWA in another browser window in order to make the Page Viewer web part display the desired content, you can try this URL instead: 
    https://www.outlook.com/owa/?exsvurl=1&cmd=contents&realm=<tenantid>.onmicrosoft.com
    where <tenantid> is the name of your tenant, e.g. mso365wiz.

See also

  • Using Outlook Web App Web Parts  -  goto the “Syntax” section to see even more targeted viewing of specific folders. Here you’ll learn how to configure the URL to pull in inbox, contacts, calendar, and tasks, e.g to view your calender in week view:
    https://db3prd0206.outlook.com/owa/?exsvurl=1&cmd=contents&f=Calendar&view=Weekly
Comments
  • Hi,

    I tried your solution, but I'm experiencing the same behavior as with otb OWA web parts (see e.g. support.microsoft.com/.../2495854).

    When i log into OWA in another browser tab, everything works just like with the OWA web parts.

    Don't the OWA web parts also produce an iframe, effectively producing the same result as page viewer web part?

    Or maybe I'm missing something here :)

    Thanks!

  • @Jarno - thanks for commenting and pointing the support article out.

    Question: did you deploy the Microsoft Online Services Sign-In Assistant (MOS SIA - community.office365.com/.../534.aspx)

  • Dear Jesper,

    Thanks for the artcle. This works like a charm. It seems that the inbox of the user, logged in SharePoint is shown. Is it possible to show an inbox or calendar of another account? I used the code below.

    www.outlook.com/owa

  • @Maikel. I'm afraid not - the realm parameter is instructing the browser to use the SAML token created upon login

  • Me sigue mostrando el error " no se puede mostrar en un marco", en que consiste URL inquilino...?

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment