Create and subscribe to a Content Moderator resource


Before you can begin to test content moderation or integrate it into your custom applications, you need to create and subscribe to a Content Moderator resource and get the subscription key for accessing the resource.

In this exercise, you'll create a new Content Moderator resource in the Azure portal.

Create and subscribe to a Content Moderator resource

  1. Sign in to the Azure portal.

  2. In the left pane, select Create a resource.

  3. In the search box, enter Content Moderator, and then press Enter.

  4. From the search results, select Content Moderator.

  5. Select Create.

  6. Enter a unique name for your resource, select a subscription, and select a location close to you.

  7. Select the pricing tier for this resource, and then select F0.


    If your current subscription is already using a free tier, you will need to choose S0 for the pricing tier or remove the existing F0 option.

  8. Create a new resource group named LearnRG.

  9. Select Review + Create. After the validation completes, select Create.

The resource will take a few minutes to deploy. After it does, go to the new resource.

Copy the subscription key

To access your Content Moderator resource, you'll need a subscription key:

  1. In the left pane, under RESOURCE MANAGEMENT, select Keys and Endpoints.

  2. Copy one of the subscription key values for later use.