Forum Discussion
Office 2016 - Display a list of all SharePoint Online sites a user has access to when saving a file
Like Dave and Pablo said, you can use the Content Search and Highlighted Content web parts. Another option is to use the Search Results web part with the Search Box. They are all useful options depending on the given scenario. View the comparison matrix I use when determining which to use at https://jennyssharepointtips.wordpress.com/2019/08/18/display-a-list-of-all-sites-a-user-can-access.
- Christopher GilbertAug 19, 2019Copper Contributor
JennyHerskoApologies for what I'm not seeing here, but when my desired end result here is to give the user one link to click on to show the listing of all associated sites to the hub, to which they have access, in alphabetical, case insensitive sort order, I still don't have a solution. Exploring the options you mention in your response and in your blog - Content Search, Search Results, and Highlighted Content web parts - does not get me any closer to a solution, as the only one of those web parts that I can add to a modern page is the Highlighted Content web part. I can almost get that to work, except that there is little ability to sort by the Site Name/Title. Do you have anything that shows a working example of a solution where I can provide a user with a link that lists all of the sites in alphabetical order, when there are 100+ sites?
- NickVanMaeleNov 12, 2019Copper ContributorI have the same remark. A new SharePoint user, such as a new employee, will not yet have any sites listed under "Following" or "Recent", so an obvious first step would be to search for what is accessible. Many user fora posts question the right to do this, citing that "there might be hundreds of sites". (Yeah, so?) Others do offer a solution, for which I am always grateful, yet, like Jenny, they tend to never offer step-by-step instructions. The best answer that I have found to date, is to teach end users to search for "contentclass: STS_Site". To offer end users an even easier way seems to require advanced SharePoint skills...