Skip to content

Commit 107d9e0

Browse files
committed
more updates
1 parent 37ad939 commit 107d9e0

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

articles/azure-video-indexer/logic-apps-connector-arm-accounts.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ The following image shows the first flow:
103103
1. Generate an access token.
104104

105105
> [!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).
107107
>
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.
109109
110110
Search and create an **HTTP** action.
111111

@@ -130,25 +130,29 @@ The following image shows the first flow:
130130

131131
> [!TIP]
132132
> 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+
135136
![Enable the system assigned managed identity](./media/logic-apps-connector-arm-accounts/enable-system.png)
136137

137138
1. Set up system assigned managed identity for permission on Azure Video Indexer resource.
138139

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.
140141

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.
144148

145-
1. Search for "Video Indexer".
149+
1. Select **Video Indexer(V2).
146150
1. From Video Indexer(V2) chose **Upload Video and index**.
147151
1. Set the connection to the Video Indexer account.
148152

149153
|Key| Value|
150154
|----|----|
151-
| Connection name| *Enter name for connection*.|
155+
| Connection name| *Enter name for connection*, in this case `aviconnection`.|
152156
| API key| This is your personal API key, which is available under **Profile** in the [developer portal](https://api-portal.videoindexer.ai/profile)|
153157

154158
Select **Create**.
@@ -200,22 +204,19 @@ Create the second flow, Logic Apps of type consumption. The second flow is t
200204

201205
|Key| Value|
202206
|----|----|
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:
208211

209212
|Key| Value|
210213
|----|----|
211214
|Location| Enter the Location of the Azure Video Indexer account.|
212215
| 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']**. |
214217
| Access Token| From the dynamic content, under the **Parse JSON** section select the **accessToken** that is the output of the parse JSON action. |
215218

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.
219220

220221
![Upload video and index](./media/logic-apps-connector-arm-accounts/get-video-index.png)
221222

@@ -231,7 +232,7 @@ Create the second flow, Logic Apps of type consumption. The second flow is t
231232
| Connection name| *Enter a connection name*.|
232233
| Authentication type |Access Key|
233234
| 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. |
235236

236237
![Create blob action](./media/logic-apps-connector-arm-accounts/storage-connection.png)
237238
1. Select **Create**.

0 commit comments

Comments
 (0)