Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wictorwilen/profile-demos
Demos of profile/person/user scenarios in Microsoft Graph
https://github.com/wictorwilen/profile-demos
Last synced: 28 days ago
JSON representation
Demos of profile/person/user scenarios in Microsoft Graph
- Host: GitHub
- URL: https://github.com/wictorwilen/profile-demos
- Owner: wictorwilen
- Created: 2024-07-19T06:46:03.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T07:07:10.000Z (4 months ago)
- Last Synced: 2024-07-19T15:09:38.301Z (4 months ago)
- Language: TypeScript
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demos of profile, person or user scenarios in Microsoft Graph
This is a (set of) demo(s) of how to use the profile, person and/or user entities in Microsoft Graph.
## Current demos
* Sample application on how to upload a CSV file with skills for users
* Sample HTTP requests for AAD extension attributes## How to run the app
1. Create a file called `.env` with the contents below
2. Create an Entra ID App with the `User.ReadWrite` user scope and `User.ReadWrite.All` app scope
3. Run the demo with `npm start`## How to run the http samples
Use the VSCode *REST Client* extension!## `.env` file
``` ini
CLIENT_ID=
CLIENT_SECRET=
SCOPES=User.ReadWrite
AUTHORITY=https://login.microsoftonline.com/common/
REDIRECT_URL=http://localhost:3210/auth/callback
SESSION_SECRET=mysecret
DEBUG=app:*
```