Setting up blob storage for use in Form Recognizer (SAS and CORS)

Kataja Hanna 1 Reputation point
2022-01-28T14:54:11.397+00:00

I'm trying to setup a custom model with Form recognizer 2.1. I'm following instructions from here.
I've setup a new resource group in which I have the Form recognizer and a storage account. Inside this storage account I've created a blob container, where I've uploaded 5 pdfs. I've setup CORS on the storage account as follows:
169491-image.png

And on the container I've generated SAS like this
169410-image.png

I've also set the access level of the container to Public and tried to generate SAS that accepts both HTTPS and HTTP connections.

Creating a new connection in https://fott-2-1.azurewebsites.net/connections works fine, but when creating a new model I get the following error
169446-image.png

Do I need to do something else than setup CORS and generate SAS or is there something going wrong in the way I create SAS URL?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,618 questions
Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,531 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 43,691 Reputation points Microsoft Employee
    2022-01-31T15:52:06.153+00:00

    @Kataja Hanna I think you also need to add another entry for CORS. I do not see an entry for allowed origins for *

    169962-image.png

    This is required as part of the setup to add a connection from the labeling tool.

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments