Fix OneDrive Anyone Link Asking for Sign-In When Embedded
Question details
The user embedded a OneDrive video on a website using an 'Anyone with the link' URL, but viewers are unexpectedly prompted to sign in to a Microsoft account.

- Product
- Microsoft OneDrive
- Device & OS
- iOS, Safari
- Scenario
- Embedding a public OneDrive video on a webpage for external visitors without requiring authentication.
- Observed behavior
- Instead of playing directly, the embedded video displays a Microsoft sign-in prompt, particularly on Safari browsers and iOS devices.
Ensure that the sharing link was originally generated with the 'Anyone with the link' permission and that the link has not expired.
Test the Embedded Link in a Private Browsing Window
Verify if the sign-in prompt is being triggered by existing Microsoft account cookies in the browser.
Browsers with an active or previously saved Microsoft account session may attempt to automatically authenticate the user when loading the embedded iframe. This can result in a sign-in screen even if the link is public.
Launch your web browser and open a new InPrivate (Edge), Incognito (Chrome), or Private (Safari) window.
Navigate to the URL of the website where your OneDrive video is embedded.
Observe if the video plays immediately. If the sign-in prompt disappears, the issue is related to cached browser session cookies rather than the link permissions.

Review Organization Sharing Settings via Admin
For business or enterprise Microsoft 365 accounts, tenant-level security settings might override individual file sharing permissions.
Looking for a Hassle-Free Way to Manage and Share Documents?
While cloud-embedded links can sometimes cause unexpected sign-in conflicts due to browser tracking prevention, WPS Office provides a seamless, lightweight, and highly compatible alternative for creating, editing, and sharing your documents across all devices without the friction.

Frequently Asked Questions
Why do external users see a sign-in prompt for an 'Anyone' link?
Browsers that have active or cached Microsoft account sessions may attempt to authenticate the user automatically, resulting in a sign-in screen instead of the video player. Testing in a private browser window usually bypasses this issue.
Does Apple Safari block OneDrive embedded videos?
Safari's strict cross-site tracking prevention can sometimes block the third-party cookies required to load Microsoft iframes properly. This can disrupt the anonymous access token and trigger a fallback sign-in prompt on iOS and Mac devices.
Can a Microsoft 365 Admin block 'Anyone' links from working?
Yes. If your organization has disabled anonymous external sharing or restricted it to specific domains in the Microsoft 365 Admin Center, 'Anyone' links will not function as intended, and users will be forced to authenticate.




