logo
search
File Sharing Problems

How to Find the Embed Option for a Folder in OneDrive

Guest WriterGuest Writer Oct 10, 2026 870 views

Question details

The user needs to locate the Embed command for a personal OneDrive folder to generate an HTML code or sharing link.

How to Find the Embed Option for a Folder in OneDrive
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.
Before you start

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.

Solution 1Recommended

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.

1
Log into OneDrive Web

Open your web browser, navigate to the OneDrive website, and log into your personal Microsoft account.

2
Switch to List View

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.

3
Right-click the Share Column

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.

4
Select Embed and Generate

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.

5
Copy the Embed 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 the Share Column Context Menu
Alternative Link Delivery: Using this embed code method is a great workaround if recipients are encountering DNS lookup problems with standard OneDrive sharing links.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official website to download and install the free, lightweight WPS Office suite.
  2. 2. Open and Edit Your Files: Easily open your existing Microsoft Word, Excel, and PowerPoint files with zero formatting loss.
  3. 3. Share Securely via WPS Cloud: Save your documents to WPS Cloud and click 'Share' to generate stable, customizable sharing links.
Fully compatible with Microsoft Office formats (Word, Excel, PowerPoint).Built-in WPS Cloud for stable, secure, and easy file sharing without DNS lookup errors.Generate reliable sharing links with customizable permissions and expirations.Lightweight application that runs smoothly on Windows, Mac, Linux, iOS, and Android.
microsoft office alternative - wps office

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.