How to export site map all info to csv

Razzi29 336 Reputation points
2024-11-15T19:23:33.6733333+00:00

I recently exhausted searching the internet on how I can accomplish to export a Sharepoint site config sitemapping to a CSV. I am a member of EntraID Global Administrator as well as Sharepoint Administrator. There are a few PowerShell scripts I found, I ran like 10 different variations and nothing seems to be working and pulling the correct info I required. Is there any other method beside of course purchasing 3rd party tool :-( I also tried option in Sharepoint Admin Centre, I navigate to the site and cant find anything to export the site map.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,003 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,972 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 28,041 Reputation points Microsoft Vendor
    2024-11-18T08:13:28.8133333+00:00

    Hi @Razzi29 ,

    Welcome to Q&A forum!

    I did a lot of research, but unfortunately, I couldn't find a PowerShell script that can be used to get the SharePoint online sitemap.

    There are two workarounds for your reference.

    For SharePoint online, it uses a modern experience. Navigate to the "Site Contents" page, where you can see a list of all the lists, libraries, and pages. While this is not a formal sitemap, it gives an overview of the site's structure.

    Or you can use Content and structure to see all the subsites, lists and libraries in the site collection:

    User's image

    I know these workarounds are a bit unsatisfactory, so, based on the current situation, third-party tools seem to be a better choice.

    Thank you for raising this requirement, so that Microsoft can better improve the product to provide users with a better experience. So we’d suggest you go to feedback on this issue, this is the best platform to let us hear from you and make our products and services better for you and others. A lot of features have been developed and suggested by customers via feedback.

    Good day!


    If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.