You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory/conditional-access/workload-identity.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ services: active-directory
6
6
ms.service: active-directory
7
7
ms.subservice: conditional-access
8
8
ms.topic: how-to
9
-
ms.date: 03/22/2022
9
+
ms.date: 03/25/2022
10
10
11
11
ms.author: joflore
12
12
author: MicrosoftGuyJFlo
@@ -51,7 +51,7 @@ Create a location based Conditional Access policy that applies to service princi
51
51
1. Under **Cloud apps or actions**, select **All cloud apps**. The policy will apply only when a service principal requests a token.
52
52
1. Under **Conditions** > **Locations**, include **Any location** and exclude **Selected locations** where you want to allow access.
53
53
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**.
55
55
1. Select **Create** to complete your policy.
56
56
57
57
### Create a risk-based Conditional Access policy
@@ -73,13 +73,9 @@ Create a location based Conditional Access policy that applies to service princi
73
73
1. Select the levels of risk where you want this policy to trigger.
74
74
1. Select **Done**.
75
75
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**.
77
77
1. Select **Create** to complete your policy.
78
78
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
-
83
79
## Roll back
84
80
85
81
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
93
89
94
90
Failure reason when Service Principal is blocked by Conditional Access: “Access has been blocked due to conditional access policies.”
95
91
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**.
@@ -84,7 +84,7 @@ To read more about auto-upgrade, see [Azure AD Connect: Automatic upgrade](how-t
84
84
85
85
### Bug fixes
86
86
- 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)
Copy file name to clipboardExpand all lines: articles/applied-ai-services/form-recognizer/compose-custom-models-preview.md
+17-25Lines changed: 17 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,34 +17,34 @@ recommendations: false
17
17
> [!NOTE]
18
18
> 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).
19
19
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.
21
21
22
22
To learn more, see [Composed custom models](concept-composed-models.md)
23
23
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.
25
25
26
26
## Prerequisites
27
27
28
-
To get started, you'll need the following:
28
+
To get started, you'll need the following resources:
29
29
30
30
***An Azure subscription**. You can [create a free Azure subscription](https://azure.microsoft.com/free/cognitive-services/)
31
31
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.
33
33
34
34
1. After the resource deploys, select **Go to resource**.
35
35
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.
37
37
38
38
:::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.":::
39
39
40
40
> [!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).
42
42
43
43
***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.
44
44
45
45
## Create your custom models
46
46
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:
48
48
49
49
*[**Assemble your training dataset**](#assemble-your-training-dataset)
50
50
*[**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
66
66
67
67
## Upload your training dataset
68
68
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.
71
70
72
71
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.
73
72
74
-
75
73
## Train your custom model
76
74
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.
80
76
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.
82
78
83
79
### [Form Recognizer Studio](#tab/studio)
84
80
@@ -94,7 +90,7 @@ To create custom models, you start with configuring your project:
94
90
95
91
:::image type="content" source="media/studio/create-project.gif" alt-text="Animation showing create a custom project in Form Recognizer Studio.":::
96
92
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:
98
94
99
95
* Dynamic or variable count of values (rows) for a given set of fields (columns)
100
96
@@ -106,15 +102,15 @@ See [Form Recognizer Studio: labeling as tables](quickstarts/try-v3-form-recogni
106
102
107
103
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.
108
104
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.
110
106
111
107
Once you have your label files, you can include them with by calling the training method with the *useLabelFile* parameter set to `true`.
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`.
118
114
119
115
|Language |Method|
120
116
|--|--|
@@ -130,7 +126,7 @@ Training with labels leads to better performance in some scenarios. To train wit
130
126
> [!NOTE]
131
127
> **the `create compose model` operation is only available for custom models trained _with_ labels.** Attempting to compose unlabeled models will produce an error.
132
128
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.
134
130
135
131
### [Form Recognizer Studio](#tab/studio)
136
132
@@ -177,26 +173,22 @@ You can manage your custom models throughout life cycles:
177
173
178
174
* Test and validate new documents.
179
175
* 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.
181
177
182
178
:::image type="content" source="media/studio/compose-manage.png" alt-text="Screenshot of a composed model in the Form Recognizer Studio":::
183
179
184
180
### [REST API](#tab/rest)
185
181
186
182
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:
187
183
188
-
*[**Gather your custom model IDs**](#gather-your-model-ids)
189
184
*[**Compose your custom models**](#compose-your-custom-models)
190
185
*[**Analyze documents**](#analyze-documents)
191
186
*[**Manage your composed models**](#manage-your-composed-models)
192
187
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.
196
188
197
189
#### Compose your custom models
198
190
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.
200
192
201
193
:::image type="content" source="media/compose-model-request-body.png" alt-text="Screenshot of compose model request.":::
202
194
@@ -242,7 +234,7 @@ Once you have built your composed model, it can be used to analyze forms and doc
242
234
243
235
## Manage your composed models
244
236
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.
0 commit comments