Forum Discussion

kevingeorget's avatar
kevingeorget
Copper Contributor
Jan 18, 2019
Solved

Site directory in SharePoint Online

Hi SharePoint Users,

I have a new tenant created in O365 with more than 50 site collections and growing in SharePoint.

For the new users logging in new, what is the best way to display a site directory they can be redirected to show them the list of site collections available to them based on access/permissions.

I have used this option, but this doesn't display the entire site collections even after updating the search query-

https://blogs.technet.microsoft.com/anneste/2017/06/15/how-to-create-a-site-directory-for-sharepoint-2013-and-office-365/

Another option is to make use of the below site page-

/_layouts/15/sharepoint.aspx

but this just shows our favorites marked sites and recent sites.

Any other options?

Regards,

kevingeorget

 

8 Replies

  • Vikram V's avatar
    Vikram V
    Copper Contributor
    Use content search web part to query and show all sites. This will show all sites that a user has access to. You can modify the display template to modify the view, show site details etc.
    • kevingeorget's avatar
      kevingeorget
      Copper Contributor

      thanks Vikram V for the reply.

      In fact i tried with the search query web part. But i'm unable to filter out the results. There are many personal and blog sites coming up in the results and not all sites getting populated.

      Below is the query text i'm using-

      (contentclass:”STS_Site” OR contentclass:”STS_Web” site: "https://tenant.sharepoint.com/sites/REU*")
      {SearchBoxQuery}

      i want site collections starting with REU*

      • MattyVx's avatar
        MattyVx
        Copper Contributor

        Try the following Query text -

         

        contentclass:STS_Site OR contentclass:STS_Web SPSiteURL:REU

  • Matt Weston's avatar
    Matt Weston
    Iron Contributor

    Hi kevingeorget, you have a possible solution of linking in a URL like this:

     

    https://www.office.com/search/sites?auth=2&home=1

     

    This will give you a list of all sites in your tenancy which your user has access to. This is simply using the search page without providing a keyword query. You could add this URL as a custom tile on your App Launcher so that your users can navigate straight to it (as per my screenshot)

     

    Cheap, cheerful, but should tick at least some of your boxes.

Resources