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
    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


  • 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: 
    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:
Comments (11)
  1. @Maikel. I'm afraid not – the realm parameter is instructing the browser to use the SAML token created upon login

  2. @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)

  3. Jarno Leikas says:


    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 🙂


  4. Maikel Sheoratan says:

    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.


  5. VictorBenil says:

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

  6. Stephen Power says:

    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.

  7. Mary Farina says:

    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:

    6.Change "SACM@csaa.com" to actual email URL
    7.Select View: Daily or Weekly
    8.Click OK
    9.Save and Checkin Page

  8. sks says:

    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

  9. Anonymous says:

    Not that I’m counting but I just realized one of my blog posts actually is closing in on 100k views

  10. Hi Jesper – Thanks for a great article, I’m getting the error while trying to show my Office 365 Mail on my SharePoint Online in the page viewer

    “This content cannot be displayed in a frame
    To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.What you can try:Open this content in a new window ”

    Clicking on the link opens the office 365 mail box online in new window. If I use a general site such as Google, it shows in the frame. Any help is appreciated, its bit urgent.


  11. Hi, I am trying to do this in Office 365. When I type in any link into the Link text box, (even https://www.bing.com) and click Save, it isn’t saved. When I go back into the properties box, my entry has been blanked out. What am I missing? Thanks for writing this.

Comments are closed.

Skip to main content