Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pjirsa/directreports
Recursively build a list of all direct reports using Microsoft Graph API
https://github.com/pjirsa/directreports
Last synced: 8 days ago
JSON representation
Recursively build a list of all direct reports using Microsoft Graph API
- Host: GitHub
- URL: https://github.com/pjirsa/directreports
- Owner: pjirsa
- License: mit
- Created: 2022-06-03T14:34:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-09T17:27:56.000Z (over 2 years ago)
- Last Synced: 2024-10-30T00:33:57.713Z (about 2 months ago)
- Language: C#
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DirectReports
Recursively build a list of all direct reports using Microsoft Graph API## Getting started
1. Clone the repo
1. Create 'local.settings.json' file
1. Add storage account connection string to local.settings.json file
1. Add AAD app registration values
```
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "storageconnectionstring",
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
"TopLevelAlias": "[email protected]",
"ClientId": "App Id",
"ClientSecret": "Client Secret",
"TenantId": "AAD Tenant Id"
},
"ConnectionStrings": {}
}
```
1. Run `func start`
1. `curl https://localhost:7071/api/[email protected]`