Skip to content

Commit ae3163f

Browse files
Merge pull request #301652 from MicrosoftDocs/main
Merged by Learn.Build PR Management system
2 parents 781c574 + d3caa2b commit ae3163f

13 files changed

+219
-221
lines changed

articles/connectors/connectors-create-api-office365-outlook.md

Lines changed: 48 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
---
2-
title: Connect to Office 365 Outlook
3-
description: Connect to Office 365 Outlook from workflows in Azure Logic Apps.
2+
title: Connect to Office 365 Outlook from Workflows
3+
description: Learn how to automate tasks in Office 365 Outlook by using workflows in Azure Logic Apps.
44
services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 01/10/2024
8+
ms.date: 06/19/2025
99
---
1010

11-
# Connect to Office 365 Outlook from Azure Logic Apps
11+
# Connect to Office 365 Outlook from workflows in Azure Logic Apps
1212

1313
[!INCLUDE [logic-apps-sku-consumption-standard](../../includes/logic-apps-sku-consumption-standard.md)]
1414

15-
To automate tasks for your Office 365 Outlook account in workflows using Azure Logic Apps, you can add operations from the [Office 365 Outlook connector](/connectors/office365connector/) to your workflow. For example, your workflow can perform the following tasks:
15+
This guide shows how to add an Office 365 Outlook trigger or action to your workflow in Azure Logic Apps. You can automate tasks for your Office 365 Outlook account by adding operations from the [Office 365 Outlook connector](/connectors/office365connector/).
16+
17+
For example, your workflow can perform the following tasks:
1618

1719
* Get, send, and reply to email.
1820
* Schedule meetings on your calendar.
1921
* Add and edit contacts.
2022

21-
This guide shows how to add an Office 365 Outlook trigger or action to your workflow in Azure Logic Apps.
22-
2323
> [!NOTE]
2424
>
25-
> The Office 365 Outlook connector works only with a [work or school account](https://support.microsoft.com/office/what-account-to-use-with-office-and-you-need-one-914e6610-2763-47ac-ab36-602a81068235#bkmk_msavsworkschool), for example, @fabrikam.onmicrosoft.com.
25+
> The Office 365 Outlook connector works only with a [work or school account](https://support.microsoft.com/office/what-account-to-use-with-office-and-you-need-one-914e6610-2763-47ac-ab36-602a81068235#bkmk_msavsworkschool), for example, @fabrikam.onmicrosoft.com.
2626
> If you have an @outlook.com or @hotmail.com account, use the [Outlook.com connector](../connectors/connectors-create-api-outlook.md).
2727
> To connect to Outlook with a different user account, such as a service account, see [Connect using other accounts](#connect-using-other-accounts).
2828
2929
## Connector technical reference
3030

31-
For information about this connector's operations and any limits, based on the connector's Swagger file, see the [connector's reference page](/connectors/office365/).
31+
For information about this connector's operations and any limits, see the [connector's reference page](/connectors/office365/).
3232

3333
## Prerequisites
3434

@@ -42,17 +42,28 @@ For information about this connector's operations and any limits, based on the c
4242
> Microsoft Entra authentication works only with an account for
4343
> Microsoft Office 365 operated by 21Vianet (.cn), not .com accounts.
4444
45-
* The logic app workflow from where you want to access your Outlook account. To add an Office 365 Outlook trigger, you have to start with a blank workflow. To add an Office 365 Outlook action, your workflow can start with any trigger.
45+
* The logic app resource with the workflow from where you want to access your Outlook account.
46+
47+
To start your workflow with an **Office 365 Outlook** trigger, you need to have a blank workflow.
48+
49+
To use an **Office 365 Outlook** action, your workflow can start with any trigger that best fits your scenario.
50+
51+
If you don't have a logic app resource and workflow, see the following articles:
52+
53+
* [Create an example Consumption logic app workflow](../logic-apps/quickstart-create-example-consumption-workflow.md)
54+
* [Create an example Standard logic app workflow](../logic-apps/create-single-tenant-workflows-azure-portal.md)
4655

4756
## Add an Office 365 Outlook trigger
4857

4958
Based on whether you have a Consumption or Standard logic app workflow, follow the corresponding steps:
5059

5160
### [Consumption](#tab/consumption)
5261

53-
1. In the [Azure portal](https://portal.azure.com), open your blank logic app workflow in the designer.
62+
1. In the [Azure portal](https://portal.azure.com), open your Consumption logic app resource.
5463

55-
1. [Follow these general steps to add the Office 365 Outlook trigger](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=consumption#add-trigger) that you want to your workflow.
64+
1. On the sidebar menu, under **Development Tools**, select the designer to open your blank workflow.
65+
66+
1. Add the **Office 365 Outlook** trigger that suits your scenario by following the [general steps to add a trigger to your workflow](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=consumption#add-trigger).
5667

5768
This example continues with the trigger named **When an upcoming event is starting soon**. This *polling* trigger regularly checks for any updated calendar event in your email account, based on the specified schedule.
5869

@@ -71,17 +82,22 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
7182
| **Interval** | Yes | **15** | The number of intervals |
7283
| **Frequency** | Yes | **Minute** | The unit of time |
7384

74-
To add other available parameters, such as **Time zone**, open the **Add new parameter** list, and select the parameters that you want.
85+
You can add any other available parameters, such as **Time zone**, from the **Advanced parameters** list.
7586

76-
![Screenshot shows Azure portal, Consumption workflow, and trigger parameters.](./media/connectors-create-api-office365-outlook/calendar-settings-consumption.png)
87+
:::image type="content" source="media/connectors-create-api-office365-outlook/calendar-settings-consumption.png" alt-text="Screenshot showing the Consumption workflow trigger parameters." lightbox="media/connectors-create-api-office365-outlook/calendar-settings-consumption.png":::
7788

7889
1. Save your workflow. On the designer toolbar, select **Save**.
7990

8091
### [Standard](#tab/standard)
8192

82-
1. In the [Azure portal](https://portal.azure.com), open your blank logic app workflow in the designer.
93+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
94+
95+
1. On the resource sidebar menu, under **Workflows**, select **Workflows**, and then select your blank workflow.
96+
97+
1. On the workflow sidebar menu, under **Tools**, select the designer to open the workflow.
8398

84-
1. [Follow these general steps to add the Office 365 Outlook trigger](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=standard#add-trigger) that you want to your workflow.
99+
100+
1. Add the **Office 365 Outlook** trigger that best suits your scenario by following the [general steps to add a trigger](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=standard#add-trigger).
85101

86102
This example continues with the trigger named **When an upcoming event is starting soon**. This *polling* trigger regularly checks for any updated calendar event in your email account, based on the specified schedule.
87103

@@ -100,9 +116,9 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
100116
| **Interval** | Yes | **15** | The number of intervals |
101117
| **Frequency** | Yes | **Minute** | The unit of time |
102118

103-
To add other available parameters, such as **Time zone**, open the **Add new parameter** list, and select the parameters that you want.
119+
You can add any other available parameters, such as **Time zone**, from the **Advanced parameters** list.
104120

105-
![Screenshot shows Azure portal, Standard workflow, and trigger parameters.](./media/connectors-create-api-office365-outlook/calendar-settings-standard.png)
121+
:::image type="content" source="media/connectors-create-api-office365-outlook/calendar-settings-standard.png" alt-text="Screenshot showing the Standard workflow trigger parameters." lightbox="media/connectors-create-api-office365-outlook/calendar-settings-standard.png":::
106122

107123
1. Save your workflow. On the designer toolbar, select **Save**.
108124

@@ -120,9 +136,11 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
120136

121137
This example continues with the Office 365 Outlook trigger named **When a new email arrives**.
122138

123-
1. [Follow these general steps to add the Office 365 Outlook action](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=consumption#add-action) that you want to your workflow.
139+
1. Add the **Office 365 Outlook** action that best suits your scenario by following the [general steps to add an action to your workflow](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=consumption#add-action).
140+
141+
This example continues with the **Office 365 Outlook** action named **Create contact**.
124142

125-
This example continues with the Office 365 Outlook action named **Create contact**. This operation creates a new contact in Office 365 Outlook. You can use the output from a previous operation in the workflow to create the contact.
143+
This operation creates a new contact in Office 365 Outlook. You can use the output from a previous operation in the workflow to create the contact.
126144

127145
1. If prompted, sign in to your Office 365 Outlook account, which creates a connection. To connect with a different user account, such as a service account, see [Connect using other accounts](#connect-using-other-accounts).
128146

@@ -141,9 +159,9 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
141159

142160
This example selects the **Contacts** folder where the action creates the new contact and uses trigger outputs for the remaining parameter values:
143161

144-
![Screenshot shows Azure portal, Consumption workflow, and action parameters.](./media/connectors-create-api-office365-outlook/create-contact-consumption.png)
162+
:::image type="content" source="media/connectors-create-api-office365-outlook/create-contact-consumption.png" alt-text="Screenshot showing the Consumption workflow action parameters." lightbox="media/connectors-create-api-office365-outlook/create-contact-consumption.png":::
145163

146-
To add other available parameters, open the **Add new parameter** list, and select the parameters that you want.
164+
You can add any other available parameters from the **Advanced parameters** list.
147165

148166
1. Save your workflow. On the designer toolbar, select **Save**.
149167

@@ -153,9 +171,9 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
153171

154172
This example continues with the Office 365 Outlook trigger named **When a new email arrives**.
155173

156-
1. [Follow these general steps to add the Office 365 Outlook action](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=standard#add-action) that you want to your workflow.
174+
1. Add an **Office 365 Outlook** action to your workflow by following the [general steps to add an action](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=standard#add-action).
157175

158-
This example continues with the Office 365 Outlook action named **Create contact**. This operation creates a new contact in Office 365 Outlook. You can use the output from a previous operation in the workflow to create the contact.
176+
This example continues with the **Office 365 Outlook** action named **Create contact**. This operation creates a new contact in Office 365 Outlook. You can use the output from a previous operation in the workflow to create the contact.
159177

160178
1. If prompted, sign in to your Office 365 Outlook account, which creates a connection. To connect with a different user account, such as a service account, see [Connect using other accounts](#connect-using-other-accounts).
161179

@@ -174,9 +192,9 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
174192

175193
This example selects the **Contacts** folder where the action creates the new contact and uses trigger outputs for the remaining parameter values:
176194

177-
![Screenshot shows Azure portal, Standard workflow, and action parameters.](./media/connectors-create-api-office365-outlook/create-contact-standard.png)
195+
:::image type="content" source="media/connectors-create-api-office365-outlook/create-contact-standard.png" alt-text="Screenshot showing the Standard workflow action parameters." lightbox="media/connectors-create-api-office365-outlook/create-contact-standard.png":::
178196

179-
To add other available parameters, open the **Add new parameter** list, and select the parameters that you want.
197+
You can add any other available parameters from the **Advanced parameters** list.
180198

181199
1. Save your workflow. On the designer toolbar, select **Save**.
182200

@@ -200,17 +218,17 @@ If you try connecting to Outlook by using a different account than the one curre
200218

201219
1. After you set up this role, sign in to the Azure portal with the account that now has Contributor permissions. You can now use this account to create the connection to Outlook.
202220

203-
* Set up the other account so that your work or school account has "send as" permissions.
221+
* Set up the other account so that your work or school account has **send as** permissions.
204222

205223
If you have admin permissions, on the service account's mailbox, set up your work or school account with either **Send as** or **Send on behalf of** permissions. For more information, see [Give mailbox permissions to another user - Admin Help](/microsoft-365/admin/add-users/give-mailbox-permissions-to-another-user). You can then create the connection by using your work or school account. Now, in triggers or actions where you can specify the sender, you can use the service account's email address.
206224

207225
For example, the **Send an email** action has an optional parameter, **From (Send as)**, which you can add to the action and use your service account's email address as the sender. To add this parameter, follow these steps:
208226

209-
1. In the **Send an email** action, open the **Add a parameter** list, and select the **From (Send as)** parameter.
227+
1. In the **Send an email** action, from the **Advanced parameters** list, select the **From (Send as)** parameter.
210228

211-
1. After the parameter appears on the action, enter the service account's email address.
229+
1. Enter the service account's email address.
212230

213-
## Next steps
231+
## Related content
214232

215233
* [Managed connectors for Azure Logic Apps](managed.md)
216234
* [Built-in connectors for Azure Logic Apps](built-in.md)

0 commit comments

Comments
 (0)