cp config.yaml.example config.yaml
vi config.yaml
pip install -r requirements.txt
You will need to register your application at Microsoft Apps(https://apps.dev.microsoft.com/). Steps below
You will need to register your application at Microsoft Apps(https://apps.dev.microsoft.com/). Steps below
- Login to https://apps.dev.microsoft.com/
- Create an app. Your AppID should be recorded in your configuration file under application_id
- Under "Application Secrets", click "Generate New Password". Record this password in your configuration under client_secret
- Under the "Platform" section, add a new Web platform and set "https://outlook.office365.com/owa/" as the redirect URL
- Under "Microsoft Graph Permissions" section, Add the below delegated permission
- Mail.ReadWrite
- User.Read
python main.py ./config.yaml