You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
To automate tasks for your Office 365 Outlook account in workflows by 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:
16
16
17
17
* Get, send, and reply to email.
18
18
* Schedule meetings on your calendar.
@@ -22,8 +22,8 @@ This guide shows how to add an Office 365 Outlook trigger or action to your work
22
22
23
23
> [!NOTE]
24
24
>
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.
26
-
> If you have an @outlook.com or @hotmail.com account, use the [Outlook.com connector](../connectors/connectors-create-api-outlook.md).
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*.
26
+
> If you have an *@outlook.com* or *@hotmail.com* account, use the [Outlook.com connector](../connectors/connectors-create-api-outlook.md).
27
27
> To connect to Outlook with a different user account, such as a service account, see [Connect using other accounts](#connect-using-other-accounts).
28
28
29
29
## Connector technical reference
@@ -42,17 +42,17 @@ For information about this connector's operations and any limits, based on the c
42
42
> Microsoft Entra authentication works only with an account for
43
43
> Microsoft Office 365 operated by 21Vianet (.cn), not .com accounts.
44
44
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 workflow from where you want to access your Outlook account. To add an Office 365 Outlook trigger, you need to start with a blank workflow. To add an Office 365 Outlook action, your workflow can start with any trigger.
46
46
47
47
## Add an Office 365 Outlook trigger
48
48
49
49
Based on whether you have a Consumption or Standard logic app workflow, follow the corresponding steps:
50
50
51
51
### [Consumption](#tab/consumption)
52
52
53
-
1. In the [Azure portal](https://portal.azure.com), open your blank logic app workflow in the designer.
53
+
1. In the [Azure portal](https://portal.azure.com), open your Consumption logic app. Under **Development Tools**in the sidebar menu, select **Logic app designer** to open a blank workflow.
54
54
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.
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.
56
56
57
57
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.
58
58
@@ -71,17 +71,19 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
71
71
|**Interval**| Yes |**15**| The number of intervals |
72
72
|**Frequency**| Yes |**Minute**| The unit of time |
73
73
74
-
To add other available parameters, such as **Time zone**, open the **Add new parameter** list, and select the parameters that you want.
74
+
You can add other available parameters, such as **Time zone**.
75
75
76
-

76
+
:::image type="content" source="media/connectors-create-api-office365-outlook/calendar-settings-consumption.png" alt-text="Screenshot showing the Consumption workflow trigger parameters.":::
77
77
78
78
1. Save your workflow. On the designer toolbar, select **Save**.
79
79
80
80
### [Standard](#tab/standard)
81
81
82
-
1. In the [Azure portal](https://portal.azure.com), open your blank logic appworkflow in the designer.
82
+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app. Under **Get started**, select **Create a workflow in designer**.
83
83
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.
84
+
1. Select **+ Add** to create a new workflow. Enter a name for your workflow and choose the state type.
85
+
86
+
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.
85
87
86
88
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.
87
89
@@ -100,9 +102,9 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
100
102
|**Interval**| Yes |**15**| The number of intervals |
101
103
|**Frequency**| Yes |**Minute**| The unit of time |
102
104
103
-
To add other available parameters, such as **Time zone**, open the **Add new parameter** list, and select the parameters that you want.
105
+
You can add other available parameters, such as **Time zone**.
104
106
105
-

107
+
:::image type="content" source="media/connectors-create-api-office365-outlook/calendar-settings-standard.png" alt-text="Screenshot showing the Standard workflow trigger parameters.":::
106
108
107
109
1. Save your workflow. On the designer toolbar, select **Save**.
108
110
@@ -120,9 +122,11 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
120
122
121
123
This example continues with the Office 365 Outlook trigger named **When a new email arrives**.
122
124
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.
125
+
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.
124
126
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.
127
+
This example continues with the Office 365 Outlook action named **Create contact**. Select the version under **Office 365 Outlook** in the search results.
128
+
129
+
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.
126
130
127
131
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).
128
132
@@ -141,9 +145,9 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
141
145
142
146
This example selects the **Contacts** folder where the action creates the new contact and uses trigger outputs for the remaining parameter values:
143
147
144
-

148
+
:::image type="content" source="media/connectors-create-api-office365-outlook/create-contact-consumption.png" alt-text="Screenshot showing the Consumption workflow action parameters.":::
145
149
146
-
To add other available parameters, open the **Add new parameter**list, and select the parameters that you want.
150
+
To add other available parameters, select the **Advanced parameters**dropdown, and choose the parameters that you want.
147
151
148
152
1. Save your workflow. On the designer toolbar, select **Save**.
149
153
@@ -153,7 +157,7 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
153
157
154
158
This example continues with the Office 365 Outlook trigger named **When a new email arrives**.
155
159
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.
160
+
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.
157
161
158
162
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.
159
163
@@ -174,9 +178,9 @@ Based on whether you have a Consumption or Standard logic app workflow, follow t
174
178
175
179
This example selects the **Contacts** folder where the action creates the new contact and uses trigger outputs for the remaining parameter values:
176
180
177
-

181
+
:::image type="content" source="media/connectors-create-api-office365-outlook/create-contact-standard.png" alt-text="Screenshot showing the Standard workflow action parameters.":::
178
182
179
-
To add other available parameters, open the **Add new parameter**list, and select the parameters that you want.
183
+
To add other available parameters, select the **Advanced parameters**dropdown, and choose the parameters that you want.
180
184
181
185
1. Save your workflow. On the designer toolbar, select **Save**.
182
186
@@ -200,17 +204,17 @@ If you try connecting to Outlook by using a different account than the one curre
200
204
201
205
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.
202
206
203
-
* Set up the other account so that your work or school account has "send as" permissions.
207
+
* Set up the other account so that your work or school account has **send as** permissions.
204
208
205
209
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.
206
210
207
211
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:
208
212
209
-
1. In the **Send an email** action, open the **Add a parameter**list, and select the **From (Send as)** parameter.
213
+
1. In the **Send an email** action, open the **Advanced parameters**dropdown, and select the **From (Send as)** parameter.
210
214
211
-
1.After the parameter appears on the action, enter the service account's email address.
215
+
1.Enter the service account's email address.
212
216
213
-
## Next steps
217
+
## Related content
214
218
215
219
*[Managed connectors for Azure Logic Apps](managed.md)
216
220
*[Built-in connectors for Azure Logic Apps](built-in.md)
0 commit comments