Create or update an Azure AI Video Indexer account with an Azure OpenAI connection

You can use Azure AI Video Indexer with Azure OpenAI deployments by creating or updating an Azure AI Video Indexer account to connect with an Azure OpenAI in the Azure portal. This article shows you how to connect Azure OpenAI to Azure AI Video Indexer, but doesn't cover use cases for Azure OpenAI or combining the two services. To learn more about what can be done with Azure OpenAI deployments, see the Azure OpenAI Service documentation.

Prerequisites

  • An Azure subscription

Note

It is recommended that you create resources in the same region to avoid performance issues.

Create an Azure OpenAI account

  1. From the Azure portal home page, select Create a resource.
  2. Enter OpenAI in the search bar.
  3. Select the Azure OpenAI card or Create and then Azure OpenAI.
  4. Select the resource group you want to use from the Resource group drowpdown list or create a new one.
  5. Select the region (location) from the Region dropdown** list.
  6. Give the Azure OpenAI resource a name.
  7. Select a tier from the Pricing tier dropdown list.
  8. Select Next.
  9. Select the Disabled, no networks can access this resource. You could configure private endpoint connections that will be the exclusive way to access this resource button unless you want to configure network access. Additionally, you can configure a private endpoint.
  10. Select Next.
  11. Select Create.
  12. Wait for the deployment to finish.

Create an Azure AI Video Indexer account with a connection to Azure OpenAI

  1. Navigate to the resource group you are currently working with.
  2. Select Create.
  3. Search for and select Azure AI Video Indexer. The Create a Video Indexer resource page appears.
  4. Create a resource group and selecting the region.
  5. Give the account a name in the Resource name field.
  6. Connect the account to storage. Either…
    1. Select an existing storage account from the Storage account dropdown or
    2. Create a new storage account. For more information about creating a storage account, see Create a storage account. Storage accounts for VI must be a Standard general-purpose v2 storage account.
  7. Select the Azure OpenAI account you want to work with from the Azure OpenAI Resource dropdown list.
  8. Select system assigned managed identity.
  9. Select the I have all the rights to use the content/file, and agree that it will be handled per the Online Services Terms and the Microsoft Privacy Statement checkbox.
  10. Select Review + create. Validation of the configuration starts.
  11. When validation is complete, select Create.
  12. When the deployment is complete, select Go to resource. The Azure AI Video Indexer overview page opens.
  13. Notifications on the page appear that say you must select a managed identity role assignment. Select the Assign role buttons. The Azure AI Video Indexer and Azure OpenAI accounts are now connected.

Update an existing Azure AI Video Indexer account to connect to Azure OpenAI

  1. In the Azure portal, navigate to the existing Azure AI Video Indexer account and select Overview.
  2. Select the connect or change link next to the Azure OpenAI item.
  3. Select the Azure OpenAI resource you want to use from the Azure OpenAI dropdown list.
  4. Select Update.
  5. Select Assign roles in the error message.