what we can do to show the users' outlook calendar inside SharePoint modern page

john john 911 Reputation points
2021-11-30T10:57:25.237+00:00

I want to add a web part inside our modern page which shows the login user outlook calendar inside a modern page. now i tried to do so using the Embed web part, as follow:-

153683-refused.png

but i got the above error "outlook refuse to connect"

I already added outlook inside the HTML security field:-

153648-htmlfield.png

any advice? what are the options to show the login user outlook calendar inside a SharePoint modern page?
Thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,153 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,547 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. 48253623 1 Reputation point
    2021-11-30T17:41:58.747+00:00

    Hi there,

    Do you need to specify the organisation calendar address. Such as https://outlook.office365.com/owa/org.com in the embedded code?

    Kind Regards
    Matt


  2. Allen Xu_MSFT 13,756 Reputation points
    2021-12-01T08:03:39.547+00:00

    Hi @john john ,

    As per my test, I can also reproduce this scenario on my end. Unfortunate though it is, I'm afraid that's by design afaik, no way to embed/iframe from domain "outlook.office.com" even if you have added it in HTML field security.

    In this case, I think there is an alternative:

    • Create a SharePoint calendar
    • connect that calendar to outlook
    • Copy the old outlook calendar information to the newly connected SharePoint Calendar. Take a reference to the video in this link: Import an Outlook Calendar to SharePoint
    • Embed the SharePoint calendar page to the SharePoint modern page using the Embed web part

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    ----------

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.