Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/martinm85/msgraph-organization-markmap
- Owner: MartinM85
- License: mit
- Created: 2023-09-01T10:23:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-12T06:47:24.000Z (about 1 year ago)
- Last Synced: 2023-09-12T14:11:40.976Z (about 1 year ago)
- Topics: markmap, microsoft-365, microsoft-graph, microsoft-graph-api, microsoft-graph-sdk, microsoftgraph
- Language: C#
- Homepage:
- Size: 432 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```