Microsoft permissions
Every permission you can ask for on a Microsoft connection, in the words the person sees, and what each one allows.
These are the permissions of the microsoft-graph connector. It talks to Microsoft Graph version 1.0 only. The beta version is refused. All permissions are delegated: the app acts as the signed-in person, within what that person can already do.
Personal Microsoft accounts work for the OneDrive, Outlook and Calendar groups. Work and school accounts may need an administrator to allow some permissions first. If an administrator must approve, the person sees: "Your organization requires an administrator to approve this app before you can connect. Ask your IT administrator to approve it, then try again."
How to read the tables
- read can only look. It sends
GETcalls, plus a fewPOSTcalls that only read (finding meeting times, reading a schedule). - read and write can look and also change things.
- write only can only send. It cannot read anything back.
When require_approval_for_writes is on, anything that is not a read waits for a person (holding writes for approval).
As with Google, ask for .read unless you need to change things. A broader login covers a narrower need: a person who approved the access behind onedrive.write has also covered onedrive.read. You still name the permission your app uses.
Always asked in addition, so the platform can tell which account it is: sign-in basics (openid, profile, email, offline_access, User.Read).
Files, OneDrive and Excel
Files in your own OneDrive use the onedrive permissions. Files other people shared with you, and other drives, need the files.all permissions.
onedrive.readreadonedrive.writeread and writefiles.all.readreadfiles.all.writeread and writeexcel.readreadexcel.writeread and writesharepoint.readreadsharepoint.writeread and writeOutlook mail, calendar and contacts
mail.readreadmail.writeread and writemail.send.mail.sendwrite onlycalendar.readreadcalendar.writeread and writecontacts.readreadcontacts.writeread and writeTo Do and OneNote
tasks.readreadtasks.writeread and writenotes.readreadnotes.writeread and writeTeams
teams.chats.readreadteams.chats.writeread and writeteams.readreadteams.channel.readreadteams.channel.sendwrite onlyPeople and profile
people.readreadusers.readreadprofile.readreadGood to know Older notes may show
teams.chat.read,teams.chat.writeorteams.message.send. Those names are retired. Useteams.chats.read,teams.chats.writeandteams.channel.send.
Paths and the official client
Paths start at me/..., drives/..., sites/..., chats/... and so on. Version 1.0 is already in the address, so do not add v1.0. me/drive is the person's own OneDrive, which is what the onedrive permissions open. Another drive id needs files.all.read or files.all.write.
Using the official Microsoft Graph client? drives.byDriveId('me') points at me/drive. Using version beta is refused with version_not_supported. More in calling the API.
Next: Google permissions or calling the API.