Managing Microsoft tools

Setting up the Connection

The setup process for Excel, Outlook and other Microsoft tools require an Entra admin (Microsoft Entra ID 'privileged role administrator' or 'application administrator') who is also a Dust Admin. This ensures full access to the necessary permissions.

📘

It is recommended for Admins to perform the following steps from a Private browser session or a new browser, to avoid using their currently active Microsoft session.

Under Spaces > Tools, Select Add Tools. Then select a Microsoft tool.

An OAuth modal will appear to allow you to allow Dust to access Microsoft account.

On the first connection, tick the box Consent on behalf of your authorization. When this checkbox does not appear, it means that an EntraID admin will need to validate your Consent Request from the Admin consent requests panel


NB : If you're not an admin on your Microsoft workspace, will have to ask your administrator to consent Dust permissions for you. Once you clicked on "Request Admin consent", you will have to wait for the administrator to validate your request in their Azure admin panel (nb : this might take a few minutes before showing up on the Azure admin panel)Once authorised, perform step 3 again. This time around, the connection will finalize.


📘

Alternative setup outside of Dust

Entra admins can also decide to create the application in Entra themselves, and will need the following consent URL (example for Outlook+Sharepoint, tweak the scopes as needed with the following permission matrix)

https://login.microsoftonline.com/{{your-entra-tenant-id}}/adminconsent
  ?client_id=202baa96-190d-4f72-a7da-e5a73fa37277
  &scope=https://graph.microsoft.com/Files.Read.All 
         https://graph.microsoft.com/Sites.Read.All 
         https://graph.microsoft.com/Mail.ReadWrite 
         https://graph.microsoft.com/Mail.ReadWrite.Shared 
         https://graph.microsoft.com/Contacts.ReadWrite 
         https://graph.microsoft.com/Contacts.ReadWrite.Shared 
         https://graph.microsoft.com/User.Read 
         offline_access
  &redirect_uri=https://{{eu. when in Europe}}dust.tt/oauth/microsoft/finalize


The Dust-Tools Application in EntraID

When consenting on behalf of your organization, (or requesting your admin to do so) Dust will create an entreprise application in Entra.

The following permissions will be requested by the app. In this case, the Delegated type means that even if the requested permission claim is high, it will be delegated to the user when using Dust. (ie. if a user cannot read chatMessages, they won't be able to by using the Dust-Tools app)



Outlook (MCP Tool)

  • Mail.ReadWrite - Read and write user mail
  • Mail.ReadWrite.Shared - Read and write shared mail
  • Contacts.ReadWrite - Full access to user contacts
  • Contacts.ReadWrite.Shared - Read and write shared contacts
  • User.Read - Sign in and read user profile
  • offline_access - Maintain access to data

Outlook Calendar (MCP Tool)

  • Calendars.ReadWrite - Read and write calendars
  • Calendars.ReadWrite.Shared - Read and write shared calendars
  • User.Read - Sign in and read user profile
  • MailboxSettings.Read - Read mailbox settings
  • offline_access - Maintain access to data

Microsoft Drive (MCP Tool)

  • User.Read - Sign in and read user profile
  • Files.ReadWrite.All - Full access to all files user can access
  • Sites.Read.All - Read items in all site collections
  • ExternalItem.Read.All - Read items in external datasets
  • offline_access - Maintain access to data

Microsoft Teams (MCP Tool)

  • User.Read - Sign in and read user profile
  • User.ReadBasic.All - Read all users' basic profiles
  • Team.ReadBasic.All - Read names and descriptions of teams
  • Channel.ReadBasic.All - Read channel names and descriptions [2,3]
  • Chat.Read - Read user chat messages
  • Chat.ReadWrite - Read and write user chat messages
  • ChatMessage.Read - Read user chat messages
  • ChatMessage.Send - Send user chat messages
  • ChannelMessage.Read.All - Read user channel messages
  • ChannelMessage.Send - Send channel messages
  • offline_access - Maintain access to data

Microsoft Excel (MCP Tool)

  • User.Read - Sign in and read user profile
  • Files.ReadWrite.All - Full access to all files user can access
  • Sites.Read.All - Read items in all site collections
  • offline_access - Maintain access to data

Summary Table

ScopeUsed By
Channel.ReadBasic.AllMicrosoft Teams MCP
ChannelMessage.Read.AllMicrosoft Teams MCP
ChannelMessage.SendMicrosoft Teams MCP
Chat.ReadMicrosoft Teams MCP
Chat.ReadWriteMicrosoft Teams MCP
ChatMessage.ReadMicrosoft Teams MCP
ChatMessage.SendMicrosoft Teams MCP
Contacts.ReadWriteOutlook MCP
Contacts.ReadWrite.SharedOutlook MCP
ExternalItem.Read.AllMicrosoft Drive MCP
Files.ReadWrite.AllMicrosoft Drive MCP, Microsoft Excel MCP
Mail.ReadWriteOutlook MCP
Mail.ReadWrite.SharedOutlook MCP
offline_accessAll Microsoft Tools
Sites.Read.AllMicrosoft Connector, Microsoft Drive MCP, Microsoft Excel MCP
Team.ReadBasic.AllMicrosoft Teams MCP
User.ReadAll Microsoft Tools
User.ReadBasic.AllMicrosoft Teams MCP
Calendars.ReadWriteOutlook Calendar MCP
Calendars.ReadWrite.SharedOutlook Calendar MCP
MailboxSettings.ReadOutlook Calendar MCP