Skip to main content
Microsoft 365

Learn how to integration Microsoft 365 products with Torq to automate workflows, security, production, and more.

Updated this week

Microsoft 365 is a cloud-based productivity suite that helps with tasks like document creation, collaboration, communication, and data management through tools such as Word, Excel, Teams, and Outlook.

A Microsoft 365 integration is necessary to use Microsoft Outlook, Microsoft Lists, Microsoft Excel, Microsoft OneDrive

Torq enables quick and easy integration with Microsoft 365, so you can automate anything and everything within moments. Torq's public Microsoft 365 steps include:

Microsoft 365 Products

Microsoft Outlook:

  • Copy Message

  • Delete Message

  • Get Attachments

  • Create Basic Message Rule

  • +35 more...

Microsoft Excel:

  • Add Worksheet

  • Delete Worksheet

  • Create Table

  • Add Rows

  • +21 more...

Microsoft Lists:

  • Create Column in List

  • Create List

  • Create List Item

  • Delete List Item

  • +7 more...

Microsoft OneDrive:

  • Add Permissions

  • Create New Folder

  • Download Item

  • List Groups

  • +15 more...

Microsoft Intune:

  • Get All Managed Devices

  • List All Devices For Policy

  • Reboot Device

  • Get All Users

  • +9 more...

Microsoft SharePoint:

  • Get Group Site

  • Get Site Resource

  • List Substitutes for Site

  • Search Site

  • Upload File to Sharepoint Drive

As always, if you don't see a step you need, you can create your own steps using Torq's custom step builder and share them within your workspace or organization.

To trigger a Torq workflow based on events sent from Microsoft 365 (using the Graph trigger integration), look here.

To use Microsoft 365 steps in Torq workflows, look here.

Use Microsoft 365 Steps in Torq

Step One: Create a Microsoft 365 Application

  1. In Microsoft Azure: Go to your Azure portal and click App registrations.

  2. New Application: Click New registration and fill out the information.

    1. Give the application a unique and meaningful name.

    2. Give the account access Accounts in this organization directory only

    3. You do not need to enter a redirect URL.

  3. Create Application: Click Register.

  4. Grant Permissions: Under Manage, click API permissions. You will want to grant the application permissions here, depending on which Torq steps you want to use.

    1. Go to Add a permission, and click Microsoft Graph.

    2. Click Application permissions.

    3. See our extensive Microsoft Permissions document for details. The permissions you enable depend on your integration's purpose—Outlook, OneDrive, and general Microsoft 365 steps each require different permissions. While some overlap exists, it's best to enable only the permissions needed for each integration and application.

  5. Grant Consent: Click Grant admin consent for {your org name}.

  6. Copy Info: From the Overview page of your application, copy the following information to use later in Torq:

    1. Application (client) ID

    2. Directory (tenant) ID

  7. Client Secret: In your application, go to Certificates & secrets and click New Client Secret.

    1. Give the secret an accurate description.

    2. Set the expiration date. It is recommended that you use a custom date in the extended future (but in compliance with your organization's policies).

    3. Click Add.

    4. Copy the generated secret.

Step Two: Create a Microsoft 365 Steps Integration in Torq

  1. Navigate to Integration: Go to Build > Integrations > Steps > Microsoft 365 and click Add.

  2. Fill in the Details: Follow the following steps to fill in the information.

    1. Give the integration a unique and meaningful name.

    2. Paste the Tenant ID you retrieved earlier.

    3. Paste the Client ID you retrieved earlier.

    4. Paste the Client Secret you retrieved earlier.

  3. Finalize: Click Add to save.

Step Three: Use the Integration in Torq Steps

  • To use Microsoft 365 steps in Torq, you must first add the Microsoft 365 step Generate Access Token.

  • Then, reference the generated access token in the following steps as {{$.generate_access_token.api_object.access_token}}.


FAQs


Templates

Now that you've added the step integration check out these templates specially crafted by Torq's security experts. Visit Torq's template library for more.

Did this answer your question?