Azure CLI must be installed and device flow used with an account that allows to create apps.
az login --use-device-codeMicrosoft Graph permissions reference
- Calendars.Read - Read user calendars
- Calendars.ReadWrite - Have full access to user calendars
- Contacts.Read - Read user contacts
- email - View users' email address
- Files.Read.All - Read all files that the user can access
- Mail.Read - Read user mail
- Mail.ReadWrite - Read and write access to user mail
- Mail.Send - Send mail as a user
- Tasks.Read - Read user's tasks and task lists
- Tasks.ReadWrite - Create, read, update, and delete user's tasks and task lists
- User.Read - Sign in and read user profile
These permissions are all delegated and have been granted for the application.