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 in the Azure portal. This article explains how to connect Azure OpenAI to Azure AI Video Indexer, but it doesn't cover use cases for Azure OpenAI or combining the two services. For more information about Azure OpenAI deployments, see the Azure OpenAI Service documentation.

Prerequisites

  • An Azure subscription
  • Azure resources created in the same region (recommended 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. Under the Azure OpenAI, select Create and then Azure OpenAI.
  4. Select the resource group you want to use from the Resource group list or create a new one.
  5. Select the region (location) from the Region list.
  6. Enter a name for the Azure OpenAI resource.
  7. Select a tier from the Pricing tier list.
  8. Select Next.
  9. Next to Type, select the Disabled option 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 a Video Indexer account with Azure OpenAI

  1. Navigate to the resource group you're 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 select a region.
  5. Give the account a name in the Resource name field.
  6. Connect the account to storage by selecting one of the following options:
    1. Select an existing storage account from the Storage account dropdown, or
    2. Create a new storage account. For more information, see Create a storage account. Azure AI Video Indexer storage accounts 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. The system validates your configuration.
  11. When validation is complete, select Create.
  12. When the deployment is complete, select Go to resource.
  13. The Azure AI Video Indexer overview page opens.
  14. Review the notification on the page and select Assign role to complete the managed identity role assignment. The Azure AI Video Indexer and Azure OpenAI accounts are now connected.

Update a 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.