Freigeben über


Outlook Web App in SharePoint Online

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

Comments

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

  • Anonymous
    January 01, 2003
    @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)

  • Anonymous
    May 30, 2012
    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!

  • Anonymous
    November 27, 2012
    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

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

  • Anonymous
    March 17, 2015
    Had a quick question - what about Shared mailboxes.. we use team sites and it would be beneficial if the teams could see the "shared" team mailboxes they are members of.

  • Anonymous
    June 22, 2015
    I was able to view the Shared mailbox by


    1.Add a page named Team Calendar (or Shared Calendar... whatever)
    2.Checkout --> Edit Page
    3.Insert webpart: Outlook Web Access
    4.Edit the webpart
    5.Update link address as follows:
    https://webmail.csaa.com/OWA/SACM@csaa.com/?cmd=contents&fpath=Calendar
    6.Change "SACM@csaa.com" to actual email URL
    7.Select View: Daily or Weekly
    8.Click OK
    9.Save and Checkin Page

  • Anonymous
    January 14, 2016
    Get the shared calendar URL by going to > IE > outlook webapp > shared calendar > open in new window > copy URL > paste in SharePoint OWA webpart url ...works but looks ugly

  • Anonymous
    February 20, 2016
    Not that I'm counting but I just realized one of my blog posts actually is closing in on 100k views

  • Anonymous
    April 19, 2017
    The comment has been removed

  • Anonymous
    May 30, 2017
    The comment has been removed