MS Graph Node Console Daemon

Simple Node.js CLI app that accesses MS Graph using "confidential client credentials" authentication. Basically this https://learn.microsoft.com/en-us/entra/identity-platform/tutorial-v2-nodejs-console with minor additions.

Setup

  • Clone from Github.
  • Enter the app folder and run yarn install.
  • Copy .env.example to .env and set the vars.

Use

Run node . --op operation where operation is one of