Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
iremugurlu
Microsoft Employee
Microsoft Employee

Eventstream connection with Event Hub

Hello,

 

I have an existing event hub which I'm planning to use with an eventstream in Fabric. I see two connection options:

1. SAS keys

2. Organisational account

 

I'm in a microsoft internal team and we're not allowed to use SAS keys. When I try to use my own account via organisational account option I'm getting following error

 

Sign in failed with the following error code: "invalid_request". Error description given: "AADSTS65002: Consent between first party application 'b52893c8-bc2e-47fc-918b-77022b299bbc' and first party resource '80369ed6-5f11-4dd9-bef3-692475845e77' must be configured via preauthorization - applications owned and operated by Microsoft must get approval from the API owner before requesting tokens for that API. Trace ID: 3e344c2e-4ab0-442d-af25-23f3e1c15500 Correlation ID: 18583d2a-007b-4b7a-a7d0-5485087e55c7 Timestamp: 2025-07-29 16:05:32Z" (Session ID: f67ac96c-b700-4aed-8514-2b9acd5b00c8, Region: usfr)

 

I'm wondering how to solve this and also is there any support to use Managed Identities for auth? This is normally possible but I don't see how via Microsoft Fabric.

3 REPLIES 3
Ruimin-Wang
Microsoft Employee
Microsoft Employee

Hi @iremugurlu , For EventHub as source of Eventstream, we currently only support Key based authentication. I'll file a bug to our UX team to remove the "Orgnaization account" option. Please use "Shared access key" authentication. And we'll support workspace identity authentication in the near future.
https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-azure-event...

RuiminWang_0-1760939971328.png

 

 

v-saisrao-msft
Community Support
Community Support

Hi @iremugurlu,

May I know if you have raised the support ticket or if the issue has been resolved?

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @iremugurlu,

The AADSTS65002 error appears because Fabric Eventstream isn't preauthorized to access Azure Event Hub through Azure AD, and end users can't fix this issue. Since your tenant blocks SAS key usage and the Organizational Account option doesn't work,

I suggest submitting an internal support ticket or reaching out to your IT team for assistance:

How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

Microsoft Entra authentication & authorization error codes - Microsoft identity platform | Microsoft...

vsaisraomsft_0-1753857146356.png

Connect to Azure resources securely using managed private endpoints - Microsoft Fabric | Microsoft L...

 

Hope this helps

Thank you.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

Real Time Intelligence in a Day

Real-Time Intelligence in a Day—Free Training

Turn streaming data into instant insights with Microsoft Fabric. Learn to connect live sources, visualize in seconds, and use Copilot + AI for smarter decisions.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.