As we anticipate the next generation of OneDrive, it’s essential to remember that the current version also boasts a variety of hidden features that can be activated with just a few clicks. Have you considered creating your own personal intranet within OneDrive by incorporating SharePoint pages and web parts? Explore the possibilities!
Every OneDrive in a Microsoft 365 tenant is technology wise just another SharePoint Site Collection. Therefore nearly all of the features available in a normal Site Collection can also be activated in your OneDrive. The following manual shows how to enable the usage of SharePoint Pages in a OneDrive. Enabling this feature helped me to use the super helpful custom WebPart spfx-rest-api-tester. This allowed me to try out some SharePoint REST API endpoints directly inside my OneDrive (instead of going the long way by using Postman).
Manual: Enable Pages and WebParts
To be able to use a WebPart in OneDrive you need to execute some extra steps because the usage of SharePoint Pages is disabled in OneDrive by default. The easiest way to achieve this is by enabling the so called Site Pages Site Feature as described below:
- Open any OneDrive Site collection and copy its base url (e.g.
https://yourTenantUrl-my.sharepoint.com/personal/YourUserNameGoesHere
) - Attach the following to additional path to the url and navigate to it:
/_layouts/15/settings.aspx
(e.g.https://yourTenantUrl-my.sharepoint.com/personal/YourUserNameGoesHeresetting/_layouts/15/settings.aspx
). - Click
Site Features
inArea Site Actions
.
- Find Feature
Site Pages
and enable it by clickingActivate
-Button.
- Go to
/_layouts/15/settings.aspx
from step above again and clickSite Libraries and Lists
in Area Site Administration.
- Click
Customize Site Pages
.
- Click
Site Pages
or copy the propertyWeb Address
and navigate to it.
Now you are ready to go and can start adding as many SharePoint Pages and add them with any content and WebParts available in your tenant.
Manual: Add Pages and WebParts
To add a page you only need to execute some small steps.
- Click
+ New
and the clickSite Page
.
- Add any WebParts to your page (by clicking the + button of an areain my example
REST API Tester
).
- Give the page a title and and publish the page by clicking the Publish button.
Afterwards the page is ready to be used.