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

60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more

Reply
danielaboamba
New Member

Fabric user/password authentication

Hello,

How can I connect to Fabric using username/password without an interactive login?

My application uses a backend connection, so I need to connect to Fabric using a username and password.

I can't use a dialog box or any interactive login to provide credentials.

It possible to perform this kind of authentication programmatically?

If yes, how can I set it up?

Thank you all.

Best regards,

Daniela

3 ACCEPTED SOLUTIONS

Hi @danielaboamba

 

Basic auth is not possible into Fabric itself, either you need to follow the oauth flow with a user account, or you need to use a service principal. 

See Microsoft Fabric security fundamentals - Microsoft Fabric | Microsoft Learn

 

Can you provide more detials on what you're trying to do? 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.





If you found this helpful, consider giving some Kudos.
If I answered your question or solved your problem, mark this post as the solution!

Join the Fabric Discord!

Proud to be a Super User!





View solution in original post

dlevy
Microsoft Employee
Microsoft Employee

Hi @danielaboamba - I'm Dave from the SQL Drivers team. Great to meet you!

 

Your best bet for this scenario is Service Principal Authentication. It gives you the ease of a SQL login but mitigates most of the security risks. Active Directory Password Authentication is another option that works pretty much the same way but we are working on deprecating that option and ask that you not use it.

 

Hope that helps!

 

Dave

View solution in original post

v-prasare
Community Support
Community Support

Hi @danielaboamba,

We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.


@dlevy & @tayloramy ,Thanks for your prompt response

 

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support

View solution in original post

5 REPLIES 5
v-prasare
Community Support
Community Support

Hi @danielaboamba,

We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

 

 

 

Thank you for your patience and look forward to hearing from you.
Prashanth Are
MS Fabric community support

v-prasare
Community Support
Community Support

Hi @danielaboamba,

We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.


@dlevy & @tayloramy ,Thanks for your prompt response

 

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support

dlevy
Microsoft Employee
Microsoft Employee

Hi @danielaboamba - I'm Dave from the SQL Drivers team. Great to meet you!

 

Your best bet for this scenario is Service Principal Authentication. It gives you the ease of a SQL login but mitigates most of the security risks. Active Directory Password Authentication is another option that works pretty much the same way but we are working on deprecating that option and ask that you not use it.

 

Hope that helps!

 

Dave

danielaboamba
New Member

I mean It possible to perform this kind of authentication using user/password?

Hi @danielaboamba

 

Basic auth is not possible into Fabric itself, either you need to follow the oauth flow with a user account, or you need to use a service principal. 

See Microsoft Fabric security fundamentals - Microsoft Fabric | Microsoft Learn

 

Can you provide more detials on what you're trying to do? 

If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.





If you found this helpful, consider giving some Kudos.
If I answered your question or solved your problem, mark this post as the solution!

Join the Fabric Discord!

Proud to be a Super User!





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Top Solution Authors