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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rgsalido
Frequent Visitor

How to connect to Synapse from the desktop with SPN

Good morning everyone,

I have a question that came up recently. We had a report that queried a Synapse. It was published and working. A few weeks ago, we changed the authentication method to SPN for security reasons. Synapse no longer allows any authentication method other than SPN. My question is, now that I have to modify it locally, how can I do that, since that authentication method does not appear in the Datasource options on the desktop.

Thank you very much.

1 ACCEPTED SOLUTION
dinesh_7780
Resolver III
Resolver III

Hi @rgsalido ,

Power BI Desktop does not support Service Principal authentication for Azure Synapse Dedicated SQL Pools, Azure SQL Database, SQL Server and  Any SQL-based connector.

 

Desktop only supports, Windows, Database Username/Password, Azure AD (User) and  OAuth / MFA (for some connectors).

 

Service Principal can ONLY be used in the service (Power BI Service) through,

Cloud connections, Enterprise Gateway

and Managed VNet Gateway.

 

Try below work around.

 

Your admin can temporarily allow Azure AD user authentication on Synapse SQL.

 

Then Open Power BI Desktop, Connect to Synapse using Azure AD / OAuth2.

Make your changes and Publish. Power BI Service continues using SPN.

 

Note: You are NOT changing the production connection used by the Service only Desktop.

 

If my response as resolved your issue please mark it as solution and give kudos.

View solution in original post

5 REPLIES 5
v-aatheeque
Community Support
Community Support

Hi @rgsalido 

Have you had a chance to look through the responses shared earlier? If anything is still unclear, we’ll be happy to provide additional support.

dinesh_7780
Resolver III
Resolver III

Hi @rgsalido ,

Power BI Desktop does not support Service Principal authentication for Azure Synapse Dedicated SQL Pools, Azure SQL Database, SQL Server and  Any SQL-based connector.

 

Desktop only supports, Windows, Database Username/Password, Azure AD (User) and  OAuth / MFA (for some connectors).

 

Service Principal can ONLY be used in the service (Power BI Service) through,

Cloud connections, Enterprise Gateway

and Managed VNet Gateway.

 

Try below work around.

 

Your admin can temporarily allow Azure AD user authentication on Synapse SQL.

 

Then Open Power BI Desktop, Connect to Synapse using Azure AD / OAuth2.

Make your changes and Publish. Power BI Service continues using SPN.

 

Note: You are NOT changing the production connection used by the Service only Desktop.

 

If my response as resolved your issue please mark it as solution and give kudos.

Thank you very much, with this approach I can continue developing.

Pragati11
Super User
Super User

HI @rgsalido 

Can you please share some screesnhots here?

What synapse source are you connecting to from the screenshot below?

 

Pragati11_0-1763388630726.png

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi @rgsalido 


Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI 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!

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.

Top Kudoed Authors