Skip to content
This repository was archived by the owner on Sep 7, 2023. It is now read-only.
This repository was archived by the owner on Sep 7, 2023. It is now read-only.

Day 3 / Challenge 4: Cannot create cognitiveservices resource because my account didn't agree the Responsible AI terms of services #369

Description

@arampp

In day 3 / challenge 4 under "Create a Cognitive Service", step 2.
When I run the command:

az cognitiveservices account create --name cog-textanalytics-westeurope-001 --resource-group rg-azdc-cognitive --kind TextAnalytics --sku S --location westeurope --yes

I'll get the following error message:

Resource provider 'Microsoft.CognitiveServices' used by this operation is not registered. We are registering for you.
Registration succeeded.
(ResourceKindRequireAcceptTerms) This subscription cannot create TextAnalytics until you agree to Responsible AI terms for this resource. You can agree to Responsible AI terms by creating a resource through the Azure Portal then trying again. For more detail go to https://go.microsoft.com/fwlink/?linkid=2164190
Code: ResourceKindRequireAcceptTerms
Message: This subscription cannot create TextAnalytics until you agree to Responsible AI terms for this resource. You can agree to Responsible AI terms by creating a resource through the Azure Portal then trying again. For more detail go to https://go.microsoft.com/fwlink/?linkid=2164190

Suggested solution:
Maybe it would make sense changing the description to create this resource in the portal and give a hint to agree these terms of service.
Another option could be removing the --yes flag to get the confirmation the console (I did not test this).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

day3Content for Day 3documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions