How to Fix Infinite Sign-In Loop in Embedded Microsoft Sway
Question details
Users are caught in a continuous authentication loop when attempting to view an embedded Microsoft Sway document on mobile and desktop browsers.

- Product
- Microsoft Sway
- Device & OS
- iPhone (iOS 17.4.1) and Mac (macOS Sonoma 14.5)
- Scenario
- Accessing embedded Microsoft Sway presentations within third-party pages or platforms like CodePen via mobile or desktop web browsers.
- Observed behavior
- After successfully entering credentials, the embedded Sway interface repeatedly reloads and returns to the initial sign-in screen, blocking access to the presentation content.
Clear your browser cache and cookies, and temporarily disable 'Prevent Cross-Site Tracking' in your browser's privacy settings to ensure third-party cookies aren't blocking the embedded authentication token.
Escalate Tenant-Wide Authentication Issues to Microsoft Support
When an embedded Sway sign-in loop affects multiple users and devices across an organization, it indicates a tenant-level configuration error that requires Microsoft Support intervention.
Embedded content authentication often relies on cross-site cookies and specific Microsoft 365 tenant configurations. If the infinite loop reproduces across multiple browsers (like Chrome and Safari) and multiple devices (iPhone, MacBook), the issue is likely tied to your organization's Azure Active Directory or Sway sharing policies rather than a local device glitch.
Test the embedded Sway link on at least two different networks and browsers. Ask colleagues in your organization if they experience the same loop to confirm it is a tenant-wide issue.
Reach out to your organization's IT department or Microsoft 365 Global Administrator and provide them with the specific devices, OS versions, and browsers where the issue occurs.
Instruct the administrator to log into the Microsoft 365 admin center, navigate to the Support section, and select 'Help & support' to open a New Service Request.
Have the administrator request an investigation of the tenant's authentication configuration and service logs specifically relating to Microsoft Sway embed codes.

Create and Share Presentations Seamlessly with WPS Office
Tired of dealing with complex tenant configurations and infinite sign-in loops just to share a document? Switch to WPS Office. It is a lightweight, fully-featured alternative that lets you create, present, and share your work via simple web links without forcing viewers through frustrating authentication barriers.
- 1. Download and install WPS Office: Get the free WPS Office app from the official website or your device's app store.
- 2. Create or open your presentation: Import your existing PowerPoint files or start a new presentation using built-in professional templates.
- 3. Share with a simple link: Click the 'Share' button to generate a view-only link that anyone can open instantly, bypassing complicated Microsoft account sign-ins.

Frequently Asked Questions
Why does my embedded Sway keep asking me to sign in on Safari?
Safari has a strict privacy feature called 'Prevent Cross-Site Tracking' enabled by default. This blocks the third-party cookies that Microsoft Sway uses to verify your sign-in status when embedded on another website, causing a loop. You can temporarily disable this in iOS Settings > Safari.
Can I view an embedded Sway without a Microsoft account?
It depends on how the creator configured the sharing settings. If the Sway is set to 'Anyone with a link', no sign-in is required. However, if it is restricted to 'Those in your organization', viewers will be forced to authenticate, which can sometimes trigger sign-in loops in embedded frames.
Does this sign-in loop happen with all embedded Microsoft 365 documents?
While it is notably common with Sway, similar cross-site cookie restrictions can cause authentication loops for embedded SharePoint pages, Power BI dashboards, and restricted Word/Excel documents viewed in mobile browsers.




