How to Find the Embed Option for a Folder in OneDrive
Question details
The user needs to locate the Embed command for a personal OneDrive folder to generate an HTML code or sharing link.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Generating an embed code for a OneDrive folder, especially useful when standard sharing links encounter DNS lookup problems.
- Observed behavior
- The Embed option is missing from the main ribbon and standard right-click context menus, making it difficult to generate an embed link for the folder.
Ensure you are logged into your personal OneDrive account via a web browser using the List view, as the folder embed feature is generally not available in the desktop app or for OneDrive for Business accounts.
Use the Share Column Context Menu
Access the hidden Embed option by right-clicking specifically in the Share column of the OneDrive web interface rather than the folder name.
In recent OneDrive interface updates, the Embed button has been removed from the main top ribbon and the standard context menu for folders. However, it can still be accessed through a specific column in the List view.
Open your web browser, navigate to the OneDrive website, and log into your personal Microsoft account.
Navigate to 'My files' and ensure your folder display is set to 'List' view using the layout options in the upper-right corner so that the data columns are visible.
Locate the folder you want to embed. Instead of right-clicking its name, hover over its row and right-click specifically inside the 'Sharing' or 'Share' column.
Click 'Embed' from the menu that appears. A side panel will open on the right side of your screen. Click the 'Generate' button to create the HTML code.
Select the 'Embed' button in the panel and copy the generated iframe code or link to use in your website, blog, or email.

Use File-Level Sharing as an Alternative
If folder embedding is unavailable on your account, generate embed codes for individual files instead.
Experience Seamless File Sharing and Collaboration with WPS Office
If you frequently encounter sharing link errors, restricted permissions, or DNS lookup problems with Microsoft OneDrive, consider switching to WPS Office. It provides a robust, lightweight, and free alternative with highly compatible document management and reliable built-in cloud sharing.
- 1. Download WPS Office: Visit the official website to download and install the free, lightweight WPS Office suite.
- 2. Open and Edit Your Files: Easily open your existing Microsoft Word, Excel, and PowerPoint files with zero formatting loss.
- 3. Share Securely via WPS Cloud: Save your documents to WPS Cloud and click 'Share' to generate stable, customizable sharing links.

Frequently Asked Questions
Why is the Embed option missing for my OneDrive folder?
The Embed option is typically only available for personal OneDrive accounts. If you are using OneDrive for Business or an enterprise/school account, Microsoft disables the folder embed feature by design for security and privacy reasons.
Can I embed a OneDrive folder in a WordPress site?
Yes, once you generate the HTML iframe code using the Share column context menu in OneDrive, you can paste that code into a Custom HTML block in your WordPress page editor to display the folder contents securely.
Why do my standard OneDrive sharing links fail to open?
Some users report DNS lookup problems or firewall configurations that prevent standard OneDrive sharing links from resolving correctly for recipients. Generating an embed code or using an alternative cloud service can sometimes bypass these network resolution issues.




