Category Archives: sooke

Sharepoint list all sites and subsites

You might be able create a blank web part page on sub site and add the custom list web part to it and then use the page viewer web part on parent site to display the sub site. Will there be a Modern Content Search Webpart? Highlighted Content does not allow to search for objects ot type Site. That would be easy to add, would it not? DarthWader I found your link a bit helpful but in my case it shows all the sites in the collection or hub and not only the sub sites on the current site.

Maybe a query is an option but then I'm not too familiar with SharePoint to know what to look for. For now I've slected the sites manually using the 'sites' web part. That will be a problem however because we expect many more sub sites to be created. Sign In. Azure Dynamics Microsoft Power Platform. Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for. Did you mean:.

Home : SharePoint : Discussions : How to display a list of subsites on a modern site page. Occasional Contributor. How to display a 'list of subsites' on a modern site page. In classic sites we had de 'Content search' webpart.

In the modern site pages webparts I can not see this one. Labels: SharePoint Online Sites. Edwin Arlington. Maybe a filter to sites in the webpart in Modern Site Pages 'marked content'? Well, bearing in mind there is not a modern WebPart that is a full replacement of the Content By Search WebPart, what you can do is just to create your own WebPart for this Related Conversations.

When the list of countries in the New tab page gets completed? How or where to see all Tasks from all Todo Lists even within Groups in one place? What's New. Microsoft Store.How can you generate the subsites list for all site collections in the tenant using PnP PowerShell. Please Login and comment to get your questions answered!

SharePoint Diary. Salaudeen Rajack's SharePoint Experiences! Deployment Guides. SharePoint Online. Share This:.

Tutorial: How to create subsites in Office 365 or SharePoint Online?

Unknown October 10, at AM. Salaudeen Rajack October 22, at PM. Subscribe to: Post Comments Atom. Social Profiles. SharePoint Search: Unable to retrieve topolog Create Subscription Settings Service Application i Event ID A certificate validation operation Total Views.

Disclaimer This is my personal blog. Articles written on this blog are from my experience for my own reference and to help others. Do not reproduce my content anywhere, in any form without my permission. If any article written on this blog violates copyright, please contact me! If you have a more elegant solution on any of the topics discussed- please post a comment, I'll be happy to hear!

This site uses cookies to personalize content, advertisements and to analyze traffic. AD Sponsor:. LinkedIn: A revolution in learning. Follow by Email. Blog Awards. Powered by Blogger.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. It only takes a minute to sign up. I'd like a single query which retrieves all sites and all of their subsites -- not just subsites of the root site.

It's not quite working though. Am able to get deep subsites as well using the above endpoint.

sharepoint list all sites and subsites

Check the below screenshot which shows the deep subsite. This appears to be present for all sites and subsites. You can use below code to achieve above functionality : Below code fetches Subsites of root site and their subsite mentioning their parents as well.

Hope this solves your issue.

sharepoint list all sites and subsites

Sign up to join this community. The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered. Asked 2 years, 4 months ago. Active 1 year, 2 months ago. Viewed 10k times.

To be clear, this will not retrieve all sites, only the ones the current user has access to see. Event tenant admins will not have access to all sites by default, unless you put them there.

Also, I only want the sites that the current user has access to. Active Oldest Votes. Gautam Sheth Gautam Sheth Run this code with Site Collection admin rights and then run it with normal user rights. It could be that the user doesnt have the rights on the deeper subsite because permissions or inheritance were broken. Are you able to view these sites via UI using that user? Besides that ensure that the site is indeed allowed to indexed.

Thanks for the updates. I am actually running these searches as the site admin, right now. All the sites and subsites have been created by this user, and have "Allow this site to appear in search results?

While this is correct, it just feels like the wrong way of doing things. If you can use the Microsoft Graph, it's much easier Hey this sort of answers my question over here: stackoverflow.

Ankitkumar Malde Ankitkumar Malde 1, 9 9 silver badges 26 26 bronze badges. Thanks for this. Unfortunately, I need a single API call to get these. It does not show the rest? How can I show them in a master, child fashion? Sign up or log in Sign up using Google. Sign up using Facebook.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

It only takes a minute to sign up. For each subsite I disabled permission inheritance and I setted up the groups and roles manually. It's basically a webpart and with a javascript file and a html file. Its not a sharepoint app and so far it works perfectly. When I log with an admin account it list every subsites and when I log with a test user who is Visitor with Read permission it list only a few subsites.

However, I also want to list all the communities all the subsitesso I tought I could just do this :. It works with my admin account but it doesnt show anything with my test account, I get blank results.

SharePoint Online: PowerShell to Get All Subsites in a Site Collection

When I check the console I get a :. I followed this example for reference. How can I simply list all the subsites even if the user dont have the permission to access the subsites?

Sign up to join this community. The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered. Asked 4 years, 1 month ago. Active 6 days ago. Viewed 6k times. When I check the console I get a : Failed to load resource: the server responded with a status of Forbidden I followed this example for reference. Active Oldest Votes. And this returns all subsites, including apps How to filter out apps? Maybe you will have more luck with this! Pradeep Pradeep 21 1 1 bronze badge.

Stauberle Stauberle 1. New contributor. Vishnu S Vishnu S 1 1 gold badge 9 9 silver badges 21 21 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook.

Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Cryptocurrency-Based Life Forms. Q2 Community Roadmap. Featured on Meta.Hi Salauden, Can we get same report in.

Could you please help me on this. Thanks, SV. Hi is it possible to show the site collection administrators and users with full control access in th above report. Please Login and comment to get your questions answered! SharePoint Diary. Salaudeen Rajack's SharePoint Experiences!

Deployment Guides. SharePoint Online. Share This:.

sharepoint list all sites and subsites

Srinivas August 30, at AM. Salaudeen Rajack August 30, at PM. Srinivas August 30, at PM. Anonymous October 11, at AM.

sharepoint list all sites and subsites

Subscribe to: Post Comments Atom. Social Profiles. SharePoint Search: Unable to retrieve topolog Create Subscription Settings Service Application i Event ID A certificate validation operation Total Views.

Disclaimer This is my personal blog. Articles written on this blog are from my experience for my own reference and to help others. Do not reproduce my content anywhere, in any form without my permission. If any article written on this blog violates copyright, please contact me! If you have a more elegant solution on any of the topics discussed- please post a comment, I'll be happy to hear!

This site uses cookies to personalize content, advertisements and to analyze traffic. AD Sponsor:. LinkedIn: A revolution in learning. Follow by Email. Blog Awards. Powered by Blogger.Posted on August 14, Information Architecture. I had an interesting question come up from one of my clients the other day. So he asked me to list a few benefits of Hub Sites vs. I was able to come up with 10! And you know me, when someone asks me a question, it becomes a blog post for everyone else to enjoy.

My blog is like Obamacare for SharePoint — just like with healthcare, I firmly believe that everyone is entitled to free SharePoint knowledge! This, to me, got to be the most significant advantage of Hub Sites. With subsites, it was easy to mess up permissions as, by default, subsites inherit permissions from the parent site and this, inadvertently, can lead to unintentional sharing of confidential informationif you are not careful. With Hub Sites, you do not have this problem as there is no physical hierarchy — it is flat information architectureand each site within a Hub is an independent site collection.

So if you mess up permissions on one site, it does not affect any other sites. Sharing a subsite might not seem like a big deal until…. Another cool advantage of Hub Sites is theme inheritance.

In the old days, if you wanted to inherit theme with subsites, you had to enable publishing featuresit was cumbersome. With Hub sites — you have none of this. Just set the theme and colors on the Parent Hub and all associated sites automatically inherit the colors.

Subscribe to RSS

Pretty simple. The message you see when trying to set a theme on a site associated with the Hub in modern SharePoint. This feature is unique to Hub Sites and was not possible with Subsites. This is pretty handy. Say you built out an Intranet Hub. When HR publishes announcements on their site — you can magically have them appear on the main landing page. This is probably the main reason why we got Hub Sites in the first place. As I documented in this postHub Sites is what allows to build common navigation for all those separate sites collections you have in your tenant Office Groups and Communication Sites.

With Subsites, you could also build common navigation, by maintaining it at the root of a site collection, but the minute you had to create common navigation among multiple site collections — it was mission impossible. Another great benefit of Hub Sites or flat architecture to be precise. If you built your Intranet using subsites, if you wanted to share something externally, you had to enable external sharing at the site collection level.

That meant that if just one subsite required external sharing, all others were impacted as well and could be shared externally. Again, with Hub Sites, no such problem. You can have 20 sites in your Hub and only enable external sharing on 4 of them, and leaving it off on others. This probably affects primarily larger organizations. If you have changes in your Org Chart, you might need to move sites from one site collection i.

With Subsites — you were stuck. Had to use a migration tool to move the sites across site collections. With Hub Sites — just change the association from one Hub to another, and you are done in no time.

Once you connect your sites to the Hub, they automatically become part of the search scope. So that means when you search for content from the parent Hub Site, it searches across all sites connected to the Hub. This is yet another advantage of a flat architecture over subsites. If you have a Team site which is a subsite, and all of a sudden would like to upgrade it to an Office Group linkyou are out of luck. In contrast, if you have modern team sites without a Group or site collections, you can connect them to an Office Group and enjoy the benefits of TeamsPlannerOutlook Calendar.

By the way, for instructions on how to connect a site to an Office Group, check out this post.This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use.

Using templates to create different kinds of SharePoint sites

Learn more. Office Office Exchange Server. Not an IT pro? We are retiring the TechNet Gallery. Make sure to back up your code. Sign in. United States English. SharePoint Online - List all subsites in all site collections. Try Out the Latest Microsoft Technology.

My contributions. SharePoint Online - List all subsites in all site collections This script generates list of all subsites of all the site collections. Note: The user must have SCA permissions at site collection level to access all the subsites. Downloaded 1, times.

Favorites Add to favorites. Category SharePoint. Sub-category Monitoring and Reporting. License MIT. Tags PowershellOfficeSharepoint Onlinesubsites. Disclaimer The sample scripts are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose.

The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.


This entry was posted in sooke. Bookmark the permalink.

Responses to Sharepoint list all sites and subsites

Leave a Reply

Your email address will not be published. Required fields are marked *