Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/martinm85/msgraph-organization-markmap

Generates Markdown file with organizational structure for the markmap tool
https://github.com/martinm85/msgraph-organization-markmap

markmap microsoft-365 microsoft-graph microsoft-graph-api microsoft-graph-sdk microsoftgraph

Last synced: 25 days ago
JSON representation

Generates Markdown file with organizational structure for the markmap tool

Awesome Lists containing this project

README

        

# msgraph-organization-markmap
Generates Markdown file with organizational structure for the markmap tool.

## Getting started
### Register the app in Azure AD
The app needs the `User.Read.All` application permission
#### Create a new app
![](./Assets/app1.png)
#### Add client secret
![](./Assets/app2.png)
#### Add permission
![](./Assets/app4.png)
#### Grant permission
![](./Assets/app5.png)
#### Use tenant id, client id and client secret
![](./Assets/app3.png)

### Build the solution
Build the solution

### Run from Visual Studio
In Visual Studio click on **Debug** -> **Organization.Structure Debug Properties** and add values for **tenantId**, **clientId**, **clientSecret** and **outputFolder** parameters.

### Run console app
`OrganizationStructure.Generator.exe `

If you have an access token that contains `User.Read.All` delegated/application permission

`OrganizationStructure.Generator.exe `

### View markmap
Open the [demo page](https://markmap.js.org/repl) and copy the content of generated Markdown file.
![](https://machacekblogstorage.blob.core.windows.net/blogassets/10112023/app6.png)

Or run markmap command line tool
```
$ npx markmap-cli path_to_generated_markdown_file
```