Skip to content
This repository has been 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

Open
arampp opened this issue Feb 10, 2022 · 0 comments
Assignees
Labels
day3 Content for Day 3 documentation Improvements or additions to documentation enhancement New feature or request

Comments

@arampp
Copy link
Contributor

arampp commented Feb 10, 2022

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

@cdennig cdennig added day3 Content for Day 3 documentation Improvements or additions to documentation enhancement New feature or request labels Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
day3 Content for Day 3 documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants