Skip to content

Commit 80c99b4

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into dns-react
2 parents 7fd458a + 60cc659 commit 80c99b4

File tree

1,207 files changed

+10585
-5734
lines changed

Some content is hidden

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

1,207 files changed

+10585
-5734
lines changed

.openpublishing.redirection.azure-resource-manager.json

Lines changed: 1943 additions & 1938 deletions
Large diffs are not rendered by default.

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,11 @@
16491649
"source_path_from_root": "/articles/dns/dns-getstarted-create-recordset.md",
16501650
"redirect_url": "/azure/dns/dns-getstarted-powershell",
16511651
"redirect_document_id": false
1652+
},
1653+
{
1654+
"source_path_from_root": "/articles/time-series-insights/migration-to-adx.md",
1655+
"redirect_url": "/azure/time-series-insights/migration-to-fabric.md",
1656+
"redirect_document_id": false
16521657
},
16531658
{
16541659
"source_path_from_root": "/articles/dns/dns-operations-dnszones-cli-nodejs.md",

articles/ai-services/computer-vision/Tutorials/liveness.md

Lines changed: 592 additions & 74 deletions
Large diffs are not rendered by default.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
author: PatrickFarley
3+
ms.service: azure-ai-vision
4+
ms.topic: include
5+
ms.date: 08/07/2023
6+
ms.author: pafarley
7+
---
8+
9+
In this example, write your credentials to environment variables on the local machine that runs the application.
10+
11+
[!INCLUDE [find key and endpoint](./find-key.md)]
12+
13+
> [!TIP]
14+
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](../../security-features.md) article for more authentication options like [Azure Key Vault](../../use-key-vault.md).
15+
16+
To set the environment variable for your key and endpoint, open a console window and follow the instructions for your operating system and development environment.
17+
18+
1. To set the `VISION_KEY` environment variable, replace `your-key` with one of the keys for your resource.
19+
2. To set the `VISION_ENDPOINT` environment variable, replace `your-endpoint` with the endpoint for your resource.
20+
21+
#### [Windows](#tab/windows)
22+
23+
```console
24+
setx VISION_KEY your-key
25+
```
26+
27+
```console
28+
setx VISION_ENDPOINT your-endpoint
29+
```
30+
31+
After you add the environment variables, you may need to restart any running programs that will read the environment variables, including the console window.
32+
33+
#### [Linux](#tab/linux)
34+
35+
```bash
36+
export VISION_KEY=your-key
37+
```
38+
39+
```bash
40+
export VISION_ENDPOINT=your-endpoint
41+
```
42+
43+
After you add the environment variables, run `source ~/.bashrc` from your console window to make the changes effective.
44+
45+
---

articles/ai-services/computer-vision/includes/quickstarts-sdk/identity-csharp-sdk.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ Get started with facial recognition using the Face client library for .NET. The
2727
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2828

2929

30+
## Create environment variables
3031

31-
[!INCLUDE [create environment variables](../environment-variables.md)]
32+
[!INCLUDE [create environment variables](../face-environment-variables.md)]
3233

3334
## Identify and verify faces
3435

articles/ai-services/computer-vision/includes/quickstarts-sdk/identity-javascript-sdk.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ Get started with facial recognition using the Face client library for JavaScript
2727
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2828

2929

30+
## Create environment variables
3031

31-
[!INCLUDE [create environment variables](../environment-variables.md)]
32+
[!INCLUDE [create environment variables](../face-environment-variables.md)]
3233

3334

3435
## Identify and verify faces

articles/ai-services/computer-vision/includes/quickstarts-sdk/identity-python-sdk.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ Get started with facial recognition using the Face client library for Python. Fo
2828
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
2929

3030

31+
## Create environment variables
3132

32-
[!INCLUDE [create environment variables](../environment-variables.md)]
33+
[!INCLUDE [create environment variables](../face-environment-variables.md)]
3334

3435
## Identify and verify faces
3536

41.8 KB
Loading
48.7 KB
Loading

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

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,7 @@ sections:
207207
208208
- **Storage Account Contributor**: You need this role for the storage account to set up cross-origin resource sharing (CORS) settings. It's a one-time effort if you reuse the same storage account.
209209
210-
- **Contributor**: You need this role to create a resource group and resources.
211-
212-
Having Contributor or Storage Account Contributor role doesn't give you access to use your Document Intelligence resource or storage account if local (key-based) authentication is disabled. You still need the basic roles (Cognitive Services User and Storage Data Blob Contributor) to use the functions on Document Intelligence Studio.
210+
- **Contributor**: You need this role to create a resource group and resources. **Contributor** or **Storage Account Contributor** role doesn't give you access to use your Document Intelligence resource or storage account if local (key-based) authentication is disabled. You still need the basic roles (**Cognitive Services User** and **Storage Data Blob Contributor**) to use the functions on Document Intelligence Studio.
213211
214212
For more information, see [Microsoft Entra built-in roles](../../role-based-access-control/built-in-roles.md) and the sections about Azure role assignments in the [Document Intelligence Studio quickstart](quickstarts/try-document-intelligence-studio.md).
215213
@@ -256,6 +254,44 @@ sections:
256254
257255
- Re-create a custom project with the migrated Document Intelligence resource and specify the same storage account.
258256
257+
- question: |
258+
Why an I receiving the error "PermissionDenied" when using prebuilt apps or opening my custom project?
259+
answer: |
260+
If you received error "PermissionDenied: Principal does not have access to API/Operation" when analyzing against prebuilt models or opening a custom project, it is likely the local (key-based) authentication is disabled for your Document Intelligence resource and your do not have enough permission to access the resource. Please reference [Azure role assignments](quickstarts/try-document-intelligence-studio.md#azure-role-assignments) to configure your access roles.
261+
262+
- question: |
263+
Why an I receiving the error "AuthorizationPermissionMismatch" when opening my custom project?
264+
answer: |
265+
If you received error "AuthorizationPermissionMismatch: This request is not authorized to perform this operation using this permission" when opening a custom project, it is likely the local (key-based) authentication is disabled for your storage account and your do not have enough permission to access the blob data. Please reference [Azure role assignments](quickstarts/try-document-intelligence-studio.md#azure-role-assignments-1) to configure your access roles.
266+
267+
- question: |
268+
Why am I not able to sign in to Document Intelligence Studio and keeps seeing InteractionRequiredAuthError error (AADSTS50058)?
269+
answer: |
270+
If you received error "InteractionRequiredAuthError: login_required: AADSTS50058: A silent sign-request was sent but no user is signed in.", this is due to 3rd-party cookies are blocked by your browser so we cannot successfully sign in your account.
271+
272+
For **Edge** users, please:
273+
- Go to **Settings** for Edge
274+
- Search for "**third-party**"
275+
- Go to **Manage and delete cookies and site data**
276+
- Turn off the setting of **Block third-party cookies**
277+
278+
For **Chrome** users, please:
279+
- Go to **Settings** for Chrome
280+
- Search for "**Third-party**"
281+
- Under **Default behavior**, select **Allow third-party cookies**
282+
283+
For **Firefox** users, please:
284+
- Go to **Settings** for Firefox
285+
- Search for "**cookies**"
286+
- Under **Enhanced Tracking Protection**, select **Manage Exceptions**
287+
- Add exception for **https://documentintelligence.ai.azure.com** or the Document Intelligence Studio URL of your environment
288+
289+
For **Safari** users, please:
290+
- Choose **Safari** > **Preferences**
291+
- Click **Privacy**
292+
- Deselect **Block all cookies**
293+
294+
259295
- question: |
260296
Are there separate URL endpoints for Document Intelligence sovereign cloud regions?
261297
answer: |

0 commit comments

Comments
 (0)