Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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:*
```