Azure Form Recognition Label Tool Docker: Endpoint Not Found - azure

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/

Related

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

How to programmatically update Networking Access Restriction on Azure Web App

I have an Azure webapp and normally if I want to block an IP address, I go to Azure dashboard panel and under networking>Configure Access Restrictions, I add a rule to do so. This picture shows which menu item I mean:
However, I would like to do this programmatically. I see that the documentation shows how you can do this through Powershell.
I have also managed to find the API documentation for WebApp. But I can't find the last piece of the puzzle which is the API that does what I need.
Can someone please tell me if it is possible and which API I should use? Thank you in advance.
According to the doc: Use an Azure REST API PUT operation on the app configuration in Azure Resource Manager. The location for this information in Azure Resource Manager is:
management.azure.com/subscriptions/subscription ID/resourceGroups/resource groups/providers/Microsoft.Web/sites/web app name/config/web?api-version=2020-06-01
Then I searched the Azure Rest API and found this:
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web?api-version=2019-08-01
We could update the field properties.ipSecurityRestrictions to update the value of Access Restrictions.
In addition, you could also check this blog: Bulk add IP Access Restrictions to Azure App Service using Az PowerShell
There does not appear to be a one-to-one match between powershell commands and api.
The closest I could find is:
https://learn.microsoft.com/en-us/rest/api/appservice/webapps/putprivateaccessvnet
This allows you to define which vnet has access to your web app. By controlling access to your vnet, you can control access to your app.

Azure custom vision | Fails to display projects from any browsers | Chrome, IE, Edge, Firefox

I am trying to load the page 'https://www.customvision.ai' for training Vision Api for improving the object detection ability of Azure Cognitive Service Instance. But it does not getting me to https://www.customvision.ai/projects, fails instead. No error messages in browser console.
I have created a resource for Cognitive Service in West-US2 region in Azure Portal. Do I need to create any more resources specific to Custom-vision? Please suggest.
I am using MSDN Azure Subscription for accessing Azure Portal.
Actually no need to create specific one. Try logging out and switching the subscription. you should be able to access it without a problem if you're under valid subscription
Ashokan, the easiest way to get an answer for your question is
(1) visit https://cognitive.uservoice.com/forums/598141-custom-vision-service
(2) Click "Contact Us"
(3) Report the issue there and submit
This way we'll be able to assist you one-on-one and give you a solution faster.
It was fixed automatically after sometime without me intervening while I am still using MSDN Azure Subscription.

Clone Azure Dashboard and adjust ApplicationInsights tiles

I have 3 separate Azure subscriptions that have identical and each subscription is paired to an environment e.g. dev, uat, prod. Under each sub/env I have identical Application Insight instances for each application that I deploy. Within each Application Insight instance I construct several dashboard widgets/charts/analytics and pin them to my custom published dashboard. Currently for each instance I have to recreate each widget/chart/analytic and pin them to a dashboard. Is there any way to clone a dashboard or widget to point to another Application Insight instance? I tried using the Azure Resource API but did not get solid results.
In order to clone dashboard tiles and edit the analytics queries from one dashboard to another, do the following:
Download the first dashboard json.
Open the json, search for ResourceId property.
Replace the ResourceId to the desired ResouceId application which you'd like to monitor.
You can get the ResourceId of an application from the Overview blade:
For example for this application:
image of my application you can get it from the url: subscriptions/7948c75a-ee6e-4c34-b391-52ba5dca56dd/resourceGroups/raz_group/providers/microsoft.insights/components/raz_test1 be sure to clear the /overview in the end.
After replacing the ResourceId, delete the SubscriptionId, ResourceGroup and Name properties near it. You don't need those.
Go to the second dashboard (or create a new one) and upload the new json.
Please tell me if something isn't clear,
Thanks.
Azure Dashboards can be deployed using Azure Resource Manager templates. Here is a document that details the operation.
Programmatically create Azure Dashboards

QnA Maker SDK/Azure templates active learning and endpoint URL

Once the bot is created using qnamaker.ai, I wanted to deploy it in Azure using the SDK and publishing from VS2017, which let me define the top parameter to enable the Active Learning as shown in https://github.com/Microsoft/BotBuilder-CognitiveServices/tree/master/CSharp/Samples/QnAMaker
But when I want to register it in dev.botframework the end point URL doesn't work.
If I use Azure Bot Service template, is not possible to set the top parameter but registering in my Bots is ready straight forward.
I have realized that the URL from Azure template contains some extra info, that is not available in my web app
...code=2xDGuyPbupZIm8zsDOucgcHDvXO908dPIad2LFG2y/37TPecdMfQEw==
A "typical" URL from Azure, that work with other deployed Bots is https://"MyBotName".azurewebsites.net/api/messages
Please, can you help enabling the active learning in Azure templates for a Q&A bot?
Can you explain me what should I add to get the "extra details" in my Web app URL?
I think there is some misunderstanding here. The QnA Maker site is not creating any bot for you. It just provisions the QnA service (a rest API).
If you want to have a bot on top of the service you created, grab the code of the QnABotWithActiveLearning sample that you linked, update the QnADialogWithActiveLearning.cs class to include your QnA subscription key (that you can get from the Settings tab of your QnA service), update MicrosotAppId and MicrosoftAppPassword settings on the Web.config with the ones you got from the BotFramework developer portal and deploy to Azure as a Web App.
Once done, you will have the standard websites URL https://"MyBotName".azurewebsites.net and the API endpoint https://"MyBotName".azurewebsites.net/api/messages.
Then just update your bot URL in the BotFramework portal with this URL.

Resources