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, as well as most Microsoft Online activities that support Graph or other application-level API actions, such as Microsoft 365 Defender (Microsoft XDR).
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 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
And many, many more.
If you don't see a step you need, you can create your own in various ways, such as using the Send an HTTP Request step or Torq’s Step Builder, and share it across your 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. Also see our Microsoft Permissions document for permissions information.
Use Microsoft 365 Steps in Torq
Step One: Create a Microsoft 365 Application
In Microsoft Azure: Go to your Azure portal and click App Registrations.
New Application: Click New registration and fill out the information.
Give the application a unique and meaningful name.
Give the account access
Accounts in this organization directory only
You do not need to enter a redirect URL.
Create Application: Click Register.
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.
Go to Add a permission, and click Microsoft Graph.
Click Application permissions.
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.
The Microsoft 365 integration is for application-level permissions. For delegated access permissions, see the Microsoft 365 Delegated Access integration.
Grant Consent: Click Grant admin consent for
{your org name}
.Copy Info: From the Overview page of your application, copy the following information to use later in Torq:
Client Secret: In your application, go to Certificates & secrets and click New Client Secret.
Step Two: Create a Microsoft 365 Steps Integration in Torq
Navigate to Integration: Go to Build > Integrations > Steps > Microsoft 365 and click Add.
Fill in the Details: Follow the following steps to fill in the information.
Give the integration a unique and meaningful name.
Paste the Tenant ID you retrieved earlier.
Paste the Client ID you retrieved earlier.
Paste the Client Secret you retrieved earlier.
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.