Skip to content

Commit beea782

Browse files
authored
Azure.Analytics.Purview.Workflows README.md Fix (Azure#48790)
1 parent 8f929fb commit beea782

File tree

1 file changed

+3
-2
lines changed
  • sdk/purview/Azure.Analytics.Purview.Workflows

1 file changed

+3
-2
lines changed

sdk/purview/Azure.Analytics.Purview.Workflows/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You must have an [Azure subscription][azure_subscription] and a [Purview resourc
2424

2525
### Authenticate the client
2626

27-
Since the Workflow service uses an Azure Active Directory (AAD) bearer token for authentication and identification, an email address should be encoded into the token to allow for notification when using Workflow. It is recommended that the [Azure Identity][azure_identity] library be used with a the [UsernamePasswordCredential][username_password_credential]. Before using the [Azure Identity][azure_identity] library with Workflow, [an application][app_registration] should be registered and used for the clientId passed to the [UsernamePasswordCredential][username_password_credential].
27+
Since the Workflow service uses an Azure Active Directory (AAD) bearer token for authentication and identification, an email address should be encoded into the token to allow for notification when using Workflow. It is recommended that the [Azure Identity][azure_identity] library be used with a the [DefaultAzureCredential][default_azure_credential]. Before using the [Azure Identity][azure_identity] library with Workflow, [an application][app_registration] should be registered and set the information obtained from the application, such as AZURE_CLIENT_ID, AZURE_TENANT_ID, and AZURE_CLIENT_SECRET, as environment variables. Then use [DefaultAzureCredential][default_azure_credential] for authentication. For more authentication details, refer to [MFA][multifactor_authentication].
2828

2929
```C# Snippet:Azure_Analytics_Purview_Workflows_CreateClient
3030
Uri endpoint = new Uri(Environment.GetEnvironmentVariable("WORKFLOW_ENDPOINT"));
@@ -104,7 +104,8 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
104104
[purview_resource]: https://learn.microsoft.com/azure/purview/create-catalog-portal
105105
[azure_identity]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/identity/Azure.Identity/README.md
106106
[app_registration]: https://learn.microsoft.com/azure/active-directory/develop/quickstart-register-app
107-
[username_password_credential]: https://learn.microsoft.com/dotnet/api/azure.identity.usernamepasswordcredential?view=azure-dotnet
107+
[default_azure_credential]: https://learn.microsoft.com/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet
108+
[multifactor_authentication]:https://learn.microsoft.com/entra/identity/authentication/concept-mandatory-multifactor-authentication?tabs=dotnet#client-libraries
108109
[protocol_client_quickstart]: https://aka.ms/azsdk/net/protocol/quickstart
109110
[cla]: https://cla.microsoft.com
110111
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/

0 commit comments

Comments
 (0)