Skip to content

Commit 6b75a61

Browse files
Merge pull request #291827 from jaganth/docs-editor/event-hubs-dotnet-standard-get-1733942081
Update event-hubs-dotnet-standard-getstarted-send.md
2 parents 89bc89d + b7fa3a6 commit 6b75a61

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/event-hubs/event-hubs-dotnet-standard-getstarted-send.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ This section shows you how to create a .NET Core console application to send eve
185185
```csharp
186186
A batch of 3 events has been published.
187187
```
188+
> [!NOTE]
189+
> If you get an error "InvalidIssuer: Token issuer is invalid" when using Microsoft Entra authentication, it may be because the wrong Entra Tenant Id is being used. In you code replace'new DefaultAzureCredential()' with 'new DefaultAzureCredential(new DefaultAzureCredentialOptions {TenantId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"})' to explictly specify Entra Tenant Id.
190+
188191
189192
> [!IMPORTANT]
190193
> If you are using the Passwordless (Azure Active Directory's Role-based Access Control) authentication, select **Tools**, then select **Options**. In the **Options** window, expand **Azure Service Authentication**, and select **Account Selection**. Confirm that you are using the account that was added to the **Azure Event Hubs Data Owner** role on the Event Hubs namespace.

0 commit comments

Comments
 (0)