Forum Discussion

Rehan null's avatar
Rehan null
Copper Contributor
Feb 19, 2018
Solved

User's OneDrive for Business on SharePoint team site

HI All,

 

I am trying to create an Intranet portal for employees using SharePoint online modern team site. I would want that whenever users access the team site, on the home page, apart from the welcome message, the users should be able to see only their OneDrive for Business folder also.

 

How can i embed user's OneDrive for Business folder in a team site.

  • I don't believe this is possible, there is Document library web part but not one to show OneDrive for a particular user that's accessing the site. This may well be possible though with some development, here is an example - https://www.tonyishere.co.uk/get-onedrive-recent-items-using-microsoft-graph-in-spfx/.

2 Replies

  • Cian Allner's avatar
    Cian Allner
    Silver Contributor

    I don't believe this is possible, there is Document library web part but not one to show OneDrive for a particular user that's accessing the site. This may well be possible though with some development, here is an example - https://www.tonyishere.co.uk/get-onedrive-recent-items-using-microsoft-graph-in-spfx/.

    • Cian is correct, you need to build this feature with some development and use Microsoft Graph API to display ODFB files of the user in a SPFx WebPart