03-07-2017 05:26 PM - edited 03-07-2017 05:29 PM
You may run into this error on the “Connect to Cognitive Services” page when deploying the Bing News solution template:
Your account admin (firstname.lastname@example.org) needs to enable cognitive services for this subscription. Ensure the account admin has at least contributor privileges to the Azure subscription. The following cognitive service should be enabled in order to proceed- TextAnalytics --- Action Failed Microsoft-RegisterCognitiveServices --- Error ID: (yuu0gk0pdevkt3knk)
This occurs when:
- the Azure cognitive services APIs required by the solution template are not enabled
- the solution template attempts to enable the required cognitive services on the user’s behalf, and
- the individual provisioning the Bing News solution template does not have permissions to enable the Cognitive Services required by the solution template.
To fix this, your Azure account administrator needs to enable the cognitive services required by the Bing News solution template. The alias of your account administrator is included in the error message. Contact this individual and ask him or her to do the following:
- Connect to the Azure portal.
- Click the search icon on the top center, enter “Cognitive”, and click on “Cognitive Services accounts (preview)”
- Click the Add button
- In the “API Type” field, select “Bing Search APIs”
- Select the “API Setting”. You should see the following:
6. Select “Enable” and then “Save"
7. Repeat steps 4-6 but with “API Type” selected as “Text Analytics API (preview)”
Note that it is possible that an account administrator might not have permissions to enable these Cognitive Services (it is possible that they delegated this to the subscription administrator). If this occurs, then the subscription administrator must assign “Contributor” permissions to the account admin for the subscriptions.