How to Fix an Outlook Calendar Embedded in a SharePoint Iframe
Question details
The user needs to restore a published Outlook calendar that is embedded in a SharePoint site via an HTML link inside an iframe.

- Product
- SharePoint, Microsoft Outlook
- Device & OS
- not provided
- Scenario
- Displaying an Outlook calendar on a SharePoint intranet page using iframe embedding.
- Observed behavior
- The embedded calendar stops functioning after several months, and the issue persists even after republishing the calendar and inserting a new link.
Verify your SharePoint page editing permissions and confirm whether the calendar in question belongs to an individual user account or a Microsoft 365 Group.
Use the SharePoint Group Calendar Web Part
If the calendar belongs to a Microsoft 365 Group, replacing the iframe with the native SharePoint Group calendar web part is the most stable and recommended approach.
Iframes can be susceptible to security policy updates or token expirations in Microsoft 365. The native Group calendar web part securely authenticates and pulls events directly from Microsoft 365 Groups without relying on public HTML sharing links.
Navigate to your SharePoint site page where the calendar is located. Click the 'Edit' button in the top right corner of the page.
Locate the Embed web part containing the broken iframe code and click the trash can icon on its left toolbar to delete it.
Hover your mouse over the page canvas until a '+' sign appears, click it, type 'Group calendar' in the search box, and select the web part.
In the web part property pane on the right side, select the Microsoft 365 group associated with your desired calendar. Adjust the number of events to display per page.
Click 'Republish' or 'Save as draft' at the top of the page to apply your changes. The calendar should now reliably display upcoming events.

Isolate the Issue with a Test Calendar
By creating and embedding a brand new test calendar, you can determine if the original calendar's sharing settings have become corrupted.
A Lightweight, Free Alternative for Your Office Needs
While managing complex intranet structures with SharePoint requires specific Microsoft tools, your daily document, spreadsheet, and presentation tasks can be done much more efficiently. WPS Office offers a free, lightweight alternative that is highly compatible with Microsoft Office formats, allowing you to streamline your workflow without expensive subscriptions.
- 1. Download the Software: Visit the WPS Office official website and click the 'Free Download' button for your operating system.
- 2. Run the Installer: Open the downloaded installation package and follow the straightforward on-screen instructions.
- 3. Start Creating: Open your existing Microsoft Office files locally and edit them seamlessly without the need for an active subscription.

Frequently Asked Questions
Why does an Outlook calendar iframe stop working after a few months?
Iframes often rely on public sharing links that might expire due to regular security policy refreshes set by Microsoft 365 administrators. Additionally, updates to cross-origin resource sharing (CORS) rules in modern browsers can suddenly block older iframe embeds.
Can I embed a personal Outlook calendar in SharePoint?
Yes, but you must use the standard Embed web part and an iframe code. First, ensure that your organization's external sharing policies permit you to publish a personal calendar to an HTML link in Outlook settings.
What is the difference between the Group calendar web part and the Events web part?
The Group calendar web part syncs specifically with a Microsoft 365 Group's Outlook calendar, displaying read-only events. The Events web part pulls events from SharePoint lists across your site or hub and allows users to add new events directly from the SharePoint page.




