Skip to content

Commit 5e8ee07

Browse files
committed
Replace screenshot with code
1 parent e595c18 commit 5e8ee07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

includes/digital-twins-tenant-solution-2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ author: baanders
33
description: include file describing a code solution to the cross-tenant limitation with Azure Digital Twins
44
ms.service: digital-twins
55
ms.topic: include
6-
ms.date: 4/13/2021
6+
ms.date: 12/07/2022
77
ms.author: baanders
88
---
99

10-
The following example shows how to set a tenant ID value for `InteractiveBrowserTenantId` in the `DefaultAzureCredential` options:
10+
The following example shows how to set a sample tenant ID value for `InteractiveBrowserTenantId` in the `DefaultAzureCredential` options:
1111

12-
:::image type="content" source="../articles/digital-twins/media/troubleshoot-error-404-digital-twins/defaultazurecredentialoptions.png" alt-text="Screenshot of code showing the DefaultAzureCredentialOptions method. The value of InteractiveBrowserTenantId is set to a sample tenant ID value.":::
12+
:::code language="csharp" source="~/digital-twins-docs-samples/sdks/csharp/authentication.cs" id="DefaultAzureCredential_options":::
1313

1414
There are similar options available to set a tenant for authentication with Visual Studio and Visual Studio Code. For more information on the options available, see the [DefaultAzureCredentialOptions documentation](/dotnet/api/azure.identity.defaultazurecredentialoptions?view=azure-dotnet&preserve-view=true).

0 commit comments

Comments
 (0)