Can I train a custom model without set container access level to public?

Dalla Verde, Giada 20 Reputation points
2025-03-06T11:51:08.6033333+00:00

Hi, I need to train an extraction custom model on a set of sensible data. In order to be compliant with security rules I need to use a container with access level set to private. If I try to do this, I get the following error: Content is not accessible: cannot access container URL.
How can I fix the problem?

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,958 questions
{count} votes

1 answer

Sort by: Most helpful
  1. santoshkc 13,180 Reputation points Microsoft External Staff
    2025-03-06T13:31:12.34+00:00

    Hi @Dalla Verde, Giada,

    Thank you for reaching out to Microsoft Q&A forum!

    You can train a custom extraction model in Azure AI Document Intelligence without setting your container access level to public. To securely provide access, you can use a Shared Access Signature (SAS) token. A SAS token allows you to grant temporary, limited access to your private storage container by appending it to the storage URL. Alternatively, if your Document Intelligence resource is in the same Azure subscription, you can assign it the Storage Blob Data Reader role via Managed Identity, enabling secure access without exposing credentials. This ensures compliance with security policies while allowing the training process to proceed.

    Please refer: Create SAS tokens for storage containers.

    I hope this helps. Thank you.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.