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/communication-services/quickstarts/email/includes/send-email-java.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,8 +133,6 @@ EmailAsyncClient emailClient = new EmailClientBuilder()
133
133
.buildAsyncClient();
134
134
```
135
135
136
-
<aname='azure-active-directory'></a>
137
-
138
136
## [Microsoft Entra ID](#tab/entra-id)
139
137
140
138
A [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#defaultazurecredential) object must be passed to the `EmailClientBuilder` via the `credential()` method. An endpoint must also be set via the `endpoint()` method.
@@ -163,11 +161,11 @@ EmailAsyncClient emailClient = new EmailClientBuilder()
Email clients can also be created and authenticated using the endpoint and Azure Key Credential acquired from an Azure Communication Resource in the [Azure portal](https://portal.azure.com/).
0 commit comments