Running setup-textanalytics.sh cannot be performed in sandbox mode and thus returns and empty key and account endpoint.
>bash setup-textanalytics.sh
Creating Text Analytics account...
(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
ERROR: (ResourceNotFound) The Resource 'Microsoft.CognitiveServices/accounts/TweetAnalytics' under resource group 'learn-f41ec7dd-69c6-4071-9eb5-bd4c948a8cef' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
ERROR: (ResourceNotFound) The Resource 'Microsoft.CognitiveServices/accounts/TweetAnalytics' under resource group 'learn-f41ec7dd-69c6-4071-9eb5-bd4c948a8cef' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
Done!
Make a note of the following values for use in the rest of this exercise:
Cognitive Services account key:
Cognitive Services account endpoint:
Running setup-textanalytics.sh cannot be performed in sandbox mode and thus returns and empty key and account endpoint.