Error when loging into Preview for Cognitive Services Speech Containers - speech-to-text

When I used the provided credentials for logging into the container registry by using the following command:
docker login "private registry" - u -p
I get the following error:
unauthorized: authentication required
Maybe I need new credentials or are there any other suggestions?

Request access to the container registry
Fill out and submit the Cognitive Services Speech Containers Request form to request access to the container.
The form requests information about you, your company, and the user scenario for which you'll use the container. After you've submitted the form, the Azure Cognitive Services team reviews it to ensure that you meet the criteria for access to the private container registry.
If your request is approved, you'll receive an email with instructions that describe how to obtain your credentials and access the private container registry.
Please follow the below link to install and run speech service containers.
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-container-howto?tabs=stt%2Ccsharp

Related

Generic Service Connection in Azure Devops

I am pretty new to Devops and I am trying to make a connection with the GCP. While creating the generic connection, what url do I have to provide? should it be the api endpoint? or the auth token url.
I am trying to connect with Bigquery api, and I am also confused about how should I authenticate?
Is there also any other way? I could not find any single blog that helps to InvokeRestApi task to the GCP alongwith the authentication.
Thanks for helping:)
enter image description here
I tried with the gcloud shell in Azure but I am not sure how can I get the api response back from gcloud script.
You can refer to Generic Service Connection and know about parameter and Description.
The url is the url of your service(e.g:https://gcr.io/PROJECT_ID).
The Token Key generated in the path of GCP:
Service account->create service account->create key

Confluence Site search with Azure Bot

I am working on a requirement where I have a Bot deployed in Azure and I need to add a feature to perform a search in confluence site based on the word user types. I have written a search request using httpClient in .Net which calls Confluence search API (https://wiki.XXXXX/ctl=siteSearch~(myword)).
I have tested the application in my local and it is working totally fine and I am able to get search results. But I am getting the below exception when deployed to Azure.
The requested name is valid, but no data of the requested type was found
Could you please help me here on why and what might be the issue. Also is there anyway I can add confluence site in Azure portal.
Error message “The requested name is valid, but no data of the requested type was found”, seems to be associated with the Winsock “WSANO_DATA” error code. It means, there is some issue with the DNS record of the server which you are trying to connect.
Reference Thread: SocketException connecting to SFTP server: name is valid, but no data of the requested type was found
Deploying Confluence Data Center to Azure via Azure marketplace
This method uses the Azure Marketplace to deploy Confluence Data Center using our deployment templates as a reference.
To deploy Confluence Data Center to Azure using our Marketplace app:
Log in to Azure Portal.
Choose Create a resource to start a new deployment
Search for Atlassian then select Confluence Data Center from the list of Marketplace apps
Choose Create to start configuring the deployment
Follow the prompts in the wizard to configure your deployment. Refer to the parameters table below for more information.
Confirm all the details are correct then click Create to purchase the subscription.
Deployment will take about 30 minutes.
Once deployment is complete, go to the Confluence URL (APPENDPOINT) listed in the deployment outputs to complete onboarding and start using Confluence.
Reference Link:
https://confluence.atlassian.com/doc/getting-started-with-confluence-data-center-on-azure-937176452.html
https://confluence.atlassian.com/doc/installing-confluence-on-windows-255362047.html

Client Credentials Flow for Azure DevOps

I have been looking at this issue for days and I know from experience that I usually work these things out but this time I have hit a brick wall.
Scenario
I have a python app that gets instantiated inside an Azure DevOps YAML pipeline.
The app calls the Azure DevOps REST API to create a repository
The app uses a PAT (personal access token) to authenticate
Firstly issue is, a personal access token is connected to me as a human user. If I leave the company the PAT will be revoked which is not good for an app that needs to run in a non-user context.
So now I want to setup my Python app to authenticate to the Azure DevOps REST API using client credentials flow.
My issue is, I can't find consistent information about this.
I have created an app in Azure DevOps:
My plan would be to get this all working in Postman and then port my finding to Python code.
So really, I am looking for help with the setup I do in Postman and I can work the rest out myself in Python.
Many posts talk about Azure DevOps and Azure AAD (Azure Active Directory) together but, seeing as I create my app registration in Azure DevOps, as shown in the picture, I don't see why I would do anything in AAD.
(Note, my Azure DevOps instance was created outside Azure. Azure knows nothing about my Azure DevOps instance)
Any pointers to the CORRECT information about how to do this would be good. And remember, I definitely need the client credentials type flow. There is no human interaction between my app and the Azure DevOps REST API.
Update
Here is what I have in Postman right now:
Note:
You can see the check boxes which I am using to toggle application/x-www-form-urlencoded key / value pairs on and off
the resource - 499b84ac-1321-427f-aa17-267ca6975798 is apparently the GUID for Azure DevOps and doesn't change
If I look inside the HTML from the 500 error I see this: Could not find partition for hostId: 499b84ac-1321-427f-aa17-267ca6975798 which is the DevOps resource GUID mentioned above.
And here is the 500 error I get from Azure Devops:
It's all very confusing but I am sure I just need to tweak one or two things to get it working.
I want to use client_credential flow in Azure DevOps for the same reasons as you! Last time I spoke to support they told me it was planned for Q3 2020. Reviewing the roadmap I can't see it on there at the moment. I also couldn't see any feature requests currently raised on Dev Community so you could consider trying to raise the profile of this issue on there.

Azure Form Recognition Label Tool Docker: Endpoint Not Found

I would like to ask which Endpoint is the correct one to use as setting on Label Tool.
I have tried several service url on docs, portal, and API sample website. This is my error message and setting screenshot:
which endpoint service that I should use?
UPDATE
I have tried using endpoint on portal too. But same result. I will try to recreate the instance later.
SOLVE
I recreate the instances and put it into West US 2 region. I think the container is not support for v0.1 preview API
The Form Recognizer labeling tool requires you to enter your Form Recognizer resource endpoint and key in the project setting –
• Form Recognizer Service Uri - Your Form Recognizer endpoint URL.
Ex: https: // formrecognizer-service-name.cognitiveservices.azure.com/
To get started with Form Recognizer please login to the Azure Portal to create a Form Recognizer resource (for v2.0 (preview) please use West US 2 or West Europe regions).Take the endpoint and key from the resource you created and use them in the labeling tool.
The endpoint should be in the format:
https://formrecognizer-service-name.cognitiveservices.azure.com
where
formrecognizer-service-name is your service name.
You can also find the endpoint URL in the Quick start of the Form recognizer resource in the azure portal.
in the message from Microsoft, there is a sentence:
To get started please login to the Azure Portal using this link (link) to create a Form Recognizer resource.
You should follow that link, create Form Recognizer resource, then in the "quick start" section of the Azure portal, you will see the end point and key.
the end point has a format like:
https: // your-name.cognitiveservices.azure.com/

Azure Devops release pipeline unauthorized for some projects

I am trying to release multiple projects in 1 solution using Azure Release pipeline
They are all connected to the same Azure Subscription, but some do deploy to the given app service while others give an unauthorized error.
Ive looked into it and i read that adding website_webdeploy_use_scm to the app service should help the Unauthorized error, but this didnt help for me.
What else could i look at? I connect through Azure Devops so i just selected the subscription from the list it automatically gathers from Azure because im logged in using the same logins as i use for Azure Portal
the full error is:
Connected to the remote computer ("xxxx.azurewebsites.windows.net") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.
Error: The remote server returned an error: (401) Unauthorized.
according to the error I'd suggest you check service principal permissions. it probably lacks the permissions required to manage those webapps.
So after refresh publishing profile in Azure Portal and trying it again it fixed itself so im not sure if that caused it or not but it worked!
another fix is to delete the slot and make it again

Resources