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
Copy file name to clipboardExpand all lines: articles/azure-video-indexer/logic-apps-connector-arm-accounts.md
+21-20Lines changed: 21 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,9 +103,9 @@ The following image shows the first flow:
103
103
1. Generate an access token.
104
104
105
105
> [!NOTE]
106
-
> In this step we generate an access token. This tutorial is based on the ARM accounts, for the classic accounts, see [Logic App connectors with classic-based AVI accounts](logic-apps-connector-tutorial.md).
106
+
> For details about the ARM API and the request/response examples, see [Generate an Azure Video Indexer access token](/rest/api/videoindexer/generate/access-token?tabs=HTTP).
107
107
>
108
-
> For details about the ARM API and the request/response examples, see [Generate an Azure Video Indexer access token](/rest/api/videoindexer/generate/access-token?tabs=HTTP). Press **Try it** to get the correct values for your account.
108
+
> Press **Try it** to get the correct values for your account.
109
109
110
110
Search and create an **HTTP** action.
111
111
@@ -130,25 +130,29 @@ The following image shows the first flow:
130
130
131
131
> [!TIP]
132
132
> Before moving to the next step step up the right permission between the Logic app and the Azure Video Indexer account.
133
-
> Make sure you have followed the steps to enable the system assigned managed identity of your Logic Apps.
134
-
133
+
>
134
+
> Make sure you have followed the steps to enable the system -assigned managed identity of your Logic Apps.
135
+
135
136

136
137
137
138
1. Set up system assigned managed identity for permission on Azure Video Indexer resource.
138
139
139
-
In the Azure portal, go to your Azure Video Indexer resource/account, on the left side blade, and select **Access control**.
140
+
In the Azure portal, go to your Azure Video Indexer resource/account.
140
141
141
-
1. Select **Add** -> **Add role assignment** -> **Contributor** -> **Next** -> **User, group, or service principal** -> **Members**.
142
-
1. Search the Logic Apps name you created (in this case, `UploadIndexVideosApp`) and select it.
143
-
1. Create an **Upload video and index** action.
142
+
1. On the left side blade, and select **Access control**.
143
+
1. Select **Add** -> **Add role assignment** -> **Contributor** -> **Next** -> **User, group, or service principal** -> **+Select members**.
144
+
1. Under **Members**, search for the Logic Apps name you created (in this case, `UploadIndexVideosApp`).
145
+
1. Press **Select**.
146
+
1. Press **Review + assign**.
147
+
1. Back in your Logic App, create an **Upload video and index** action.
144
148
145
-
1.Search for "Video Indexer".
149
+
1.Select **Video Indexer(V2).
146
150
1. From Video Indexer(V2) chose **Upload Video and index**.
147
151
1. Set the connection to the Video Indexer account.
148
152
149
153
|Key| Value|
150
154
|----|----|
151
-
| Connection name|*Enter name for connection*.|
155
+
| Connection name|*Enter name for connection*, in this case `aviconnection`.|
152
156
| API key| This is your personal API key, which is available under **Profile** in the [developer portal](https://api-portal.videoindexer.ai/profile)|
153
157
154
158
Select **Create**.
@@ -200,22 +204,19 @@ Create the second flow, Logic Apps of type consumption. The second flow is t
200
204
201
205
|Key| Value|
202
206
|----|----|
203
-
|Connection name|*Enter name for connection*.|
204
-
| API key| This is your personal API key, which is available under *Profile* at the [developer portal](https://api-portal.videoindexer.ai/profile)|
205
-
206
-
- Select **Create**.
207
-
- Fill out the required parameters according to the table:
207
+
|Connection name|*Enter name for connection*. For example, `aviconnection`.|
208
+
| API key| This is your personal API key, which is available under **Profile** at the [developer portal](https://api-portal.videoindexer.ai/profile). For more information, see [Subscribe to the API](video-indexer-use-apis.md#subscribe-to-the-api).|
209
+
1. Select **Create**.
210
+
1. Fill out the required parameters according to the table:
208
211
209
212
|Key| Value|
210
213
|----|----|
211
214
|Location| Enter the Location of the Azure Video Indexer account.|
212
215
| Account ID| The Video Indexer account ID can be copied from the resource/account **Overview** page in the Azure portal.|
213
-
| Video ID| For Video ID, add dynamic content of type **Expression** and put in the following expression: **triggerOutputs()['queries']['id']**. |
216
+
| Video ID\*| For Video ID, add dynamic content of type **Expression** and put in the following expression: **triggerOutputs()['queries']['id']**. |
214
217
| Access Token| From the dynamic content, under the **Parse JSON** section select the **accessToken** that is the output of the parse JSON action. |
215
218
216
-
*This expression tells the connecter to get the Video ID from the output of your trigger. In this case, the output of your trigger will be the output of
217
-
218
-
“Upload video and index” in your first trigger.
219
+
\*This expression tells the connecter to get the Video ID from the output of your trigger. In this case, the output of your trigger will be the output of **Upload video and index** in your first trigger.
219
220
220
221

221
222
@@ -231,7 +232,7 @@ Create the second flow, Logic Apps of type consumption. The second flow is t
231
232
| Connection name|*Enter a connection name*.|
232
233
| Authentication type |Access Key|
233
234
| Azure Storage Account name|*Storage account name where insights will be stored*. |
234
-
| Azure Storage Account Access key| Go to Azure portal-> my-storage-> under **Security + networking** ->Access keys -> copy one of the keys |
235
+
| Azure Storage Account Access key| Go to Azure portal-> my-storage-> under **Security + networking** ->Access keys -> copy one of the keys.|
0 commit comments