Skip to content

Commit eb1c4ca

Browse files
authored
Merge pull request #259603 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 71e964a + 460d116 commit eb1c4ca

File tree

3 files changed

+34
-5
lines changed

3 files changed

+34
-5
lines changed

articles/ai-services/document-intelligence/faq.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,9 @@ sections:
447447
448448
- You need an active [Azure account](https://azure.microsoft.com/free/cognitive-services/) and subscription with at least a **Reader** role to access Document Intelligence Studio.
449449
450-
- For **document analysis and prebuilt models**, you need full access—**Contributor** role—to at least one [Document Intelligence](https://portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer) or [multi-service](https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne) resource to enter the analyze page. Once you access the model analyze page, you can change the endpoint and key to access other resources, if needed.
450+
- For **document analysis and prebuilt models**, you need full access—**Cognitive Services User** role—to at least one [Document Intelligence](https://portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer) or [multi-service](https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne) resource to enter the analyze page. Once you access the model analyze page, you can change the endpoint and key to access other resources, if needed.
451451
452-
- For **custom models**, you can either use a **Contributor** role, or use the endpoint and key of a [Document Intelligence](https://portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer) or [multi-service](https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne) resource to create a project. You also need to have **Contributor** role to access to at least one blob storage account.
452+
- For **custom models**, you can either use a **Cognitive Services User** role, or use the endpoint and key of a [Document Intelligence](https://portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer) or [multi-service](https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne) resource to create a project. You also need to have **Storage Blob Data Contributor** role to access to at least one blob storage account.
453453
454454
- For more information, *see* [Microsoft Entra built-in roles](../../role-based-access-control/built-in-roles.md).
455455
@@ -468,10 +468,16 @@ sections:
468468
- Switching subscriptions or resources can be done under Settings -> Resource tab.
469469
470470
- question: |
471-
Why am I receiving an AuthorizationFailure error on Project Sharing, Auto Label, or OCR Upgrade when my Document Intelligence or Storage Account resource is configured with a firewall?
471+
Why am I receiving a Storage error on Project Sharing, Auto Label, or OCR Upgrade when my Storage Account resource is configured with a firewall or virtual network?
472472
answer: |
473473
474-
Add our website IP address, 20.3.165.95, to the firewall allowlist for both Document Intelligence and Storage Account resources. This unique address is Document Intelligence Studio's dedicated IP address and can be safely allowed.
474+
Please refer to [Managed identities for Document Intelligence](managed-identities.md) to set up up your Azure resources.
475+
476+
- question: |
477+
Why am I receiving 'Access denied due to Virtual Network/Firewall rules' on Auto Label or OCR Upgrading when my Document Intelligence resource is configured with a firewall or virtual network?
478+
answer: |
479+
480+
Add our website IP address, 20.3.165.95, to the firewall allowlist for Document Intelligence resource. This is Document Intelligence Studio's dedicated IP address and can be safely allowed.
475481
476482
- question: |
477483
Can I reuse or customize the labeling experience from Studio and build it into my own application?

articles/ai-services/document-intelligence/managed-identities.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ In the following steps, we enable a system-assigned managed identity and grant D
9595

9696
## Grant access to your storage account
9797

98-
You need to grant Document Intelligence access to your storage account before it can create, read, or delete blobs. Now that you've enabled Document Intelligence with a system-assigned managed identity, you can use Azure role-based access control (Azure RBAC), to give Document Intelligence access to Azure storage. The **Storage Blob Data Reader** role gives Document Intelligence (represented by the system-assigned managed identity) read and list access to the blob container and data.
98+
You need to grant Document Intelligence access to your storage account before it can read blobs. Now that you've enabled Document Intelligence with a system-assigned managed identity, you can use Azure role-based access control (Azure RBAC), to give Document Intelligence access to Azure storage. The **Storage Blob Data Reader** role gives Document Intelligence (represented by the system-assigned managed identity) read and list access to the blob container and data.
9999

100100
1. Under **Permissions** select **Azure role assignments**:
101101

@@ -130,6 +130,10 @@ You need to grant Document Intelligence access to your storage account before it
130130

131131
That's it! You've completed the steps to enable a system-assigned managed identity. With managed identity and Azure RBAC, you granted Document Intelligence specific access rights to your storage resource without having to manage credentials such as SAS tokens.
132132

133+
### Additional role assignment for Document Intelligence Studio
134+
135+
If you are going to use Document Intelligence Studio and your storage account is configured with network restriction such as firewall or virtual network, an additional role, **Storage Blob Data Contributor**, needs to be assigned to your Document Intelligence service. Document Intelligence Studio requires this role to write blobs to your storage account when you perform Auto label, OCR upgrade, Human in the loop, or Project sharing operations.
136+
133137
## Next steps
134138
> [!div class="nextstepaction"]
135139
> [Configure secure access with managed identities and private endpoints](managed-identities-secured-access.md)

articles/ai-services/document-intelligence/quickstarts/try-document-intelligence-studio.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ monikerRange: '>=doc-intel-3.0.0'
3232
> [!TIP]
3333
> Create an Azure AI services resource if you plan to access multiple Azure AI services under a single endpoint/key. For Document Intelligence access only, create a Document Intelligence resource. Please note that you'll need a single-service resource if you intend to use [Microsoft Entra authentication](../../../active-directory/authentication/overview-authentication.md).
3434
35+
#### Azure role assignments
36+
37+
For document analysis and prebuilt models, following role assignments are required for different scenarios.
38+
* Basic
39+
* **Cognitive Services User**: you need this role to Document Intelligence or Azure AI services resource to enter the analyze page.
40+
* Advanced
41+
* **Contributor**: you need this role to create resource group, Document Intelligence service, or Azure AI services resource.
42+
3543
## Models
3644

3745
Prebuilt models help you add Document Intelligence features to your apps without having to build, train, and publish your own models. You can choose from several prebuilt models, each of which has its own set of supported data fields. The choice of model to use for the analyze operation depends on the type of document to be analyzed. Document Intelligence currently supports the following prebuilt models:
@@ -81,6 +89,17 @@ A **standard performance** [**Azure Blob Storage account**](https://portal.azure
8189
* [**Create a storage account**](../../../storage/common/storage-account-create.md). When creating your storage account, make sure to select **Standard** performance in the **Instance details → Performance** field.
8290
* [**Create a container**](../../../storage/blobs/storage-quickstart-blobs-portal.md#create-a-container). When creating your container, set the **Public access level** field to **Container** (anonymous read access for containers and blobs) in the **New Container** window.
8391

92+
### Azure role assignments
93+
94+
For custom projects, the following role assignments are required for different scenarios.
95+
96+
* Basic
97+
* **Cognitive Services User**: You need this role for Document Intelligence or Azure AI services resource to train the custom model or do analysis with trained models.
98+
* **Storage Blob Data Contributor**: You need this role for the Storage Account to create a project and label data.
99+
* Advanced
100+
* **Storage Account Contributor**: You need this role for the Storage Account to set up CORS settings (this is a one-time effort if the same storage account is reused).
101+
* **Contributor**: You need this role to create a resource group and resources.
102+
84103
### Configure CORS
85104

86105
[CORS (Cross Origin Resource Sharing)](/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services) needs to be configured on your Azure storage account for it to be accessible from the Document Intelligence Studio. To configure CORS in the Azure portal, you need access to the CORS tab of your storage account.

0 commit comments

Comments
 (0)