Skip to content

Commit 8dc746c

Browse files
authored
Merge pull request #193022 from MicrosoftDocs/main
Merge main to live, 4AM
2 parents abc5cf2 + a86b2a5 commit 8dc746c

File tree

83 files changed

+543
-655
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+543
-655
lines changed

articles/active-directory/conditional-access/workload-identity.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: active-directory
66
ms.service: active-directory
77
ms.subservice: conditional-access
88
ms.topic: how-to
9-
ms.date: 03/22/2022
9+
ms.date: 03/25/2022
1010

1111
ms.author: joflore
1212
author: MicrosoftGuyJFlo
@@ -51,7 +51,7 @@ Create a location based Conditional Access policy that applies to service princi
5151
1. Under **Cloud apps or actions**, select **All cloud apps**. The policy will apply only when a service principal requests a token.
5252
1. Under **Conditions** > **Locations**, include **Any location** and exclude **Selected locations** where you want to allow access.
5353
1. Under **Grant**, **Block access** is the only available option. Access is blocked when a token request is made from outside the allowed range.
54-
1. Set **Enable policy** to **On**.
54+
1. Your policy can be saved in **Report-only** mode, allowing administrators to estimate the effects, or policy is enforced by turning policy **On**.
5555
1. Select **Create** to complete your policy.
5656

5757
### Create a risk-based Conditional Access policy
@@ -73,13 +73,9 @@ Create a location based Conditional Access policy that applies to service princi
7373
1. Select the levels of risk where you want this policy to trigger.
7474
1. Select **Done**.
7575
1. Under **Grant**, **Block access** is the only available option. Access is blocked when a token request is made from outside the allowed range.
76-
1. Set **Enable policy** to **On**.
76+
1. Your policy can be saved in **Report-only** mode, allowing administrators to estimate the effects, or policy is enforced by turning policy **On**.
7777
1. Select **Create** to complete your policy.
7878

79-
#### Report-only mode
80-
81-
Saving your policy in Report-only mode won't allow administrators to estimate the effects because we don't currently log this risk information in sign-in logs.
82-
8379
## Roll back
8480

8581
If you wish to roll back this feature, you can delete or disable any created policies.
@@ -93,6 +89,12 @@ The sign-in logs are used to review how policy is enforced for service principal
9389

9490
Failure reason when Service Principal is blocked by Conditional Access: “Access has been blocked due to conditional access policies.”
9591

92+
#### Report-only mode
93+
94+
To view results of a location-based policy, refer to the **Report-only** tab of events in the **Sign-in report**, or use the **Conditional Access Insights and Reporting** workbook.
95+
96+
To view results of a risk-based policy, refer to the **Report-only** tab of events in the **Sign-in report**.
97+
9698
## Reference
9799

98100
### Finding the objectID

articles/active-directory/hybrid/reference-connect-version-history.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.assetid: ef2797d7-d440-4a9a-a648-db32ad137494
66
ms.service: active-directory
77
ms.topic: reference
88
ms.workload: identity
9-
ms.date: 3/24/2022
9+
ms.date: 3/25/2022
1010
ms.subservice: hybrid
1111
ms.author: rodejo
1212
ms.custom: has-adal-ref
@@ -84,7 +84,7 @@ To read more about auto-upgrade, see [Azure AD Connect: Automatic upgrade](how-t
8484

8585
### Bug fixes
8686
- Fixed an issue where some sync rule functions were not parsing surrogate pairs properly.
87-
- Fixed an issue where, under certain circumstances, the sync service would not start due to a model db corruption. You can read more about the model db corroption issue in [this article](https://docs.microsoft.com/troubleshoot/azure/active-directory/resolve-model-database-corruption-sqllocaldb)
87+
- Fixed an issue where, under certain circumstances, the sync service would not start due to a model db corruption. You can read more about the model db corruption issue in [this article](https://docs.microsoft.com/troubleshoot/azure/active-directory/resolve-model-database-corruption-sqllocaldb)
8888

8989
## 2.0.91.0
9090

articles/applied-ai-services/form-recognizer/compose-custom-models-preview.md

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,34 @@ recommendations: false
1717
> [!NOTE]
1818
> This how-to guide references Form Recognizer v3.0 (preview). To use Form Recognizer v2.1 (GA), see [Compose custom models v2.1.](compose-custom-models.md).
1919
20-
A composed model is created by taking a collection of custom models and assigning them to a single model comprised of your form types. You can assign up to 100 trained custom models to a single composed model. When you call Analyze with the composed model ID, Form Recognizer will first classify the form you submitted, choose the best matching assigned model, and then return results for that model.
20+
A composed model is created by taking a collection of custom models and assigning them to a single model built from your form types. You can assign up to 100 trained custom models to a single composed model. When analyze documents with a composed model, Form Recognizer will first classify the form you submitted, then choose the best matching assigned model, and return results the results.
2121

2222
To learn more, see [Composed custom models](concept-composed-models.md)
2323

24-
In this article you will learn how to create and use composed custom models to analyze your forms and documents.
24+
In this article, you'll learn how to create and use composed custom models to analyze your forms and documents.
2525

2626
## Prerequisites
2727

28-
To get started, you'll need the following:
28+
To get started, you'll need the following resources:
2929

3030
* **An Azure subscription**. You can [create a free Azure subscription](https://azure.microsoft.com/free/cognitive-services/)
3131

32-
* **A Form Recognizer resource**. Once you have your Azure subscription, [create a Form Recognizer resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer) in the Azure portal to get your key and endpoint. If you have an existing Form Recognizer resource, navigate directly to your resource page. You can use the free pricing tier (F0) to try the service, and upgrade later to a paid tier for production.
32+
* **A Form Recognizer instance**. Once you have your Azure subscription, [create a Form Recognizer resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer) in the Azure portal to get your key and endpoint. If you have an existing Form Recognizer resource, navigate directly to your resource page. You can use the free pricing tier (F0) to try the service, and upgrade later to a paid tier for production.
3333

3434
1. After the resource deploys, select **Go to resource**.
3535

36-
1. Copy the **Keys and Endpoint** values from the resource you created and paste them in a convenient location, such as *Microsoft Notepad*. You'll need the key and endpoint values to connect your application to the Form Recognizer API.
36+
1. Copy the **Keys and Endpoint** values from the Azure portal and paste them in a convenient location, such as *Microsoft Notepad*. You'll need the key and endpoint values to connect your application to the Form Recognizer API.
3737

3838
:::image border="true" type="content" source="media/containers/keys-and-endpoint.png" alt-text="Still photo showing how to access resource key and endpoint URL.":::
3939

4040
> [!TIP]
41-
> For further guidance, *see* [**create a Form Recognizer resource**](create-a-form-recognizer-resource.md).
41+
> For more information, see* [**create a Form Recognizer resource**](create-a-form-recognizer-resource.md).
4242
4343
* **An Azure storage account.** If you don't know how to create an Azure storage account, follow the [Azure Storage quickstart for Azure portal](../../storage/blobs/storage-quickstart-blobs-portal.md). You can use the free pricing tier (F0) to try the service, and upgrade later to a paid tier for production.
4444

4545
## Create your custom models
4646

47-
First, you'll need to a set of custom models to compose. Using the Form Recognizer Studio, REST API, or client-library SDKs, the steps are as follows:
47+
First, you'll need to a set of custom models to compose. You can use the Form Recognizer Studio, REST API, or client-library SDKs. The steps are as follows:
4848

4949
* [**Assemble your training dataset**](#assemble-your-training-dataset)
5050
* [**Upload your training set to Azure blob storage**](#upload-your-training-dataset)
@@ -66,19 +66,15 @@ See [Build a training data set](./build-training-data-set.md) for tips on how to
6666

6767
## Upload your training dataset
6868

69-
When you've gathered the set of form documents that you'll use for training, you'll need to [upload your training data](build-training-data-set.md#upload-your-training-data)
70-
to an Azure blob storage container.
69+
When you've gathered a set of training documents, you'll need to [upload your training data](build-training-data-set.md#upload-your-training-data) to an Azure blob storage container.
7170

7271
If you want to use manually labeled data, you'll also have to upload the *.labels.json* and *.ocr.json* files that correspond to your training documents.
7372

74-
7573
## Train your custom model
7674

77-
You [train your model](https://formrecognizer.appliedai.azure.com/studio/custommodel/projects). Labeled datasets rely on the prebuilt-layout API, but supplementary human input is included such as your specific labels and field locations. To use both labeled data, start with at least five completed forms of the same type for the labeled training data and then add unlabeled data to the required data set.
78-
79-
When you train with labeled data, the model uses supervised learning to extract values of interest, using the labeled forms you provide. Labeled data results in better-performing models and can produce models that work with complex forms or forms containing values without keys.
75+
When you [train your model](https://formrecognizer.appliedai.azure.com/studio/custommodel/projects) with labeled data, the model uses supervised learning to extract values of interest, using the labeled forms you provide. Labeled data results in better-performing models and can produce models that work with complex forms or forms containing values without keys.
8076

81-
Form Recognizer uses the [prebuilt-layout model](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/AnalyzeDocument) API to learn the expected sizes and positions of printed and handwritten text elements and extract tables. Then it uses user-specified labels to learn the key/value associations and tables in the documents. We recommend that you use five manually labeled forms of the same type (same structure) to get started when training a new model and add more labeled data as needed to improve the model accuracy. Form Recognizer enables training a model to extract key-value pairs and tables using supervised learning capabilities.
77+
Form Recognizer uses the [prebuilt-layout model](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/AnalyzeDocument) API to learn the expected sizes and positions of printed and handwritten text elements and extract tables. Then it uses user-specified labels to learn the key/value associations and tables in the documents. We recommend that you use five manually labeled forms of the same type (same structure) to get started with training a new model. Then, add more labeled data, as needed, to improve the model accuracy. Form Recognizer enables training a model to extract key-value pairs and tables using supervised learning capabilities.
8278

8379
### [Form Recognizer Studio](#tab/studio)
8480

@@ -94,7 +90,7 @@ To create custom models, you start with configuring your project:
9490

9591
:::image type="content" source="media/studio/create-project.gif" alt-text="Animation showing create a custom project in Form Recognizer Studio.":::
9692

97-
While creating your custom models, you may need to extract data collections from your documents. These may appear in a couple of formats. Using tables as the visual pattern:
93+
While creating your custom models, you may need to extract data collections from your documents. The collections may appear one of two formats. Using tables as the visual pattern:
9894

9995
* Dynamic or variable count of values (rows) for a given set of fields (columns)
10096

@@ -106,15 +102,15 @@ See [Form Recognizer Studio: labeling as tables](quickstarts/try-v3-form-recogni
106102

107103
Training with labels leads to better performance in some scenarios. To train with labels, you need to have special label information files (*\<filename\>.pdf.labels.json*) in your blob storage container alongside the training documents.
108104

109-
Label files contain key-value associations that a user has entered manually. They are needed for labeled data training, but not every source file needs to have a corresponding label file. Source files without labels will be treated as ordinary training documents. We recommend five or more labeled files for reliable training. You can use a UI tool like [Form Recognizer Studio](https://formrecognizer.appliedai.azure.com/studio/customform/projects) to generate these files.
105+
Label files contain key-value associations that a user has entered manually. They're needed for labeled data training, but not every source file needs to have a corresponding label file. Source files without labels will be treated as ordinary training documents. We recommend five or more labeled files for reliable training. You can use a UI tool like [Form Recognizer Studio](https://formrecognizer.appliedai.azure.com/studio/customform/projects) to generate these files.
110106

111107
Once you have your label files, you can include them with by calling the training method with the *useLabelFile* parameter set to `true`.
112108

113109
:::image type="content" source="media/studio/rest-use-labels.png" alt-text="{alt-text}":::
114110

115111
### [Client-libraries](#tab/sdks)
116112

117-
Training with labels leads to better performance in some scenarios. To train with labels, you need to have special label information files (*\<filename\>.pdf.labels.json*) in your blob storage container alongside the training documents. Once you have them, you can call the training method with the *useTrainingLabels* parameter set to `true`.
113+
Training with labels leads to better performance in some scenarios. To train with labels, you need to have special label information files (*\<filename\>.pdf.labels.json*) in your blob storage container alongside the training documents. Once you've them, you can call the training method with the *useTrainingLabels* parameter set to `true`.
118114

119115
|Language |Method|
120116
|--|--|
@@ -130,7 +126,7 @@ Training with labels leads to better performance in some scenarios. To train wit
130126
> [!NOTE]
131127
> **the `create compose model` operation is only available for custom models trained _with_ labels.** Attempting to compose unlabeled models will produce an error.
132128
133-
With the [**create compose model**](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/ComposeDocumentModel) operation, you can assign up to 100 trained custom models to a single model ID. When you call Analyze with the composed model ID, Form Recognizer will first classify the form you submitted, choose the best matching assigned model, and then return results for that model. This operation is useful when incoming forms may belong to one of several templates.
129+
With the [**create compose model**](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/ComposeDocumentModel) operation, you can assign up to 100 trained custom models to a single model ID. When analyze documents with a composed model, Form Recognizer first classifies the form you submitted, then chooses the best matching assigned model, and returns results for that model. This operation is useful when incoming forms may belong to one of several templates.
134130

135131
### [Form Recognizer Studio](#tab/studio)
136132

@@ -177,26 +173,22 @@ You can manage your custom models throughout life cycles:
177173

178174
* Test and validate new documents.
179175
* Download your model to use in your applications.
180-
* Delete your model when it's lifecycle is complete.
176+
* Delete your model when its lifecycle is complete.
181177

182178
:::image type="content" source="media/studio/compose-manage.png" alt-text="Screenshot of a composed model in the Form Recognizer Studio":::
183179

184180
### [REST API](#tab/rest)
185181

186182
Once the training process has successfully completed, you can begin to build your composed model. Here are the steps for creating and using composed models:
187183

188-
* [**Gather your custom model IDs**](#gather-your-model-ids)
189184
* [**Compose your custom models**](#compose-your-custom-models)
190185
* [**Analyze documents**](#analyze-documents)
191186
* [**Manage your composed models**](#manage-your-composed-models)
192187

193-
#### Gather your model IDs
194-
195-
The [**REST API**](./quickstarts/try-v3-rest-api.md#manage-custom-models), will return a `201 (Success)` response with a **Location** header. The value of the last parameter in this header is the model ID for the newly trained model.
196188

197189
#### Compose your custom models
198190

199-
The [compose model API](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/ComposeDocumentModel) accepts a list of models to be composed.
191+
The [compose model API](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/ComposeDocumentModel) accepts a list of model IDs to be composed.
200192

201193
:::image type="content" source="media/compose-model-request-body.png" alt-text="Screenshot of compose model request.":::
202194

@@ -242,7 +234,7 @@ Once you have built your composed model, it can be used to analyze forms and doc
242234

243235
## Manage your composed models
244236

245-
You can manage your custom models throughout their lifecycle by viewing a list of all custom models under your subscription, retrieving information about a specific custom model, and deleting custom models from your account.
237+
Custom models can be managed throughout their lifecycle. You can view a list of all custom models under your subscription, retrieve information about a specific custom model, and delete custom models from your account.
246238

247239
|Programming language| Code sample |
248240
|--|--|

0 commit comments

Comments
 (0)