Generates Markdown file with organizational structure for the markmap tool.
The app needs the User.Read.All
application permission
Build the solution
In Visual Studio click on Debug -> Organization.Structure Debug Properties and add values for tenantId, clientId, clientSecret and outputFolder parameters.
OrganizationStructure.Generator.exe <tenantId> <clientId> <clientSecret> <outputFolder>
If you have an access token that contains User.Read.All
delegated/application permission
OrganizationStructure.Generator.exe <accessToken> <outputFolder>
Open the demo page and copy the content of generated Markdown file.
Or run markmap command line tool
$ npx markmap-cli path_to_generated_markdown_file