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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
JoshT
Advocate III
Advocate III

SQL Server - Windows Authentication vs Microsoft Account

I need to clear up my understand of the relationship between the windows authenticated account and the microsoft account when connecting to a SQL Server instance. I'm currently able to connect with windows authentication but getting 'we couldn't authenticate with the credentials provided' error when using the MS account (I'm not typing my password in wrong) - which is making me think the two are separate entities even though they are the same username in the same domain? Am I right in saying the MS account would need to be added to the AD group alongside windows account in order to access?

 

I was originally getting the error 'a connection was established, but an error occurred... certificate chain not trusted' when signing in with MS account, so set up a certificate for encrypted connections (working with windows auth). This made me think that the MS account was authorised to connect to the server but just failing at certificate handshake, but I guess this was a red herring and it never could authenticate to the server in the first place?

 

Lastly, what authentication is used when a user is viewing a report from a client (e.g. phone app)? Is this defined in the report or does the user choose how to authenticate (it all seems to happen automatically, even though I have signed in with my organisation MS account)?

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @JoshT ,

 

Please refer to the third - party bolg to know about the difference between the two types.

https://www.virtual-dba.com/differences-windows-sql-server-authentication/

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi,

This blog is about windows authentication and SQL authentication. I was looking for the difference between windows authentication and microsoft account (i.e. what appears to be office365 login) authentication that seems to be unique to Power BI

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.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors