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
RachelPeck
Frequent Visitor

SQL DNS Alias Issue - Server moved, alias remained the same - PQ still tries to connect to old

I have an issue that only occurs when using my laptop, and not when logged into other machines.

 

I am using PowerQuery to connect to a database in both Excel and PowerBI.  The database's server has an alias, which is what I use to connect.

 

Last month, the database was moved, but the DNS alias remained the same.  When I use my laptop to try to connect to the database, I get an error saying "We couldn't authenticate with the credentials provided".  If I use the actual server name, it will connect without issue.  If I use the DNS alias on another machine, it will connect without issue.  What do I need to change on my laptop to make PowerQuery "forget" the old location for the aliased server?

1 ACCEPTED SOLUTION
AmiraBedh
Super User
Super User

Based on this old thread :

 

This maybe a permission/authentication error. When you ever connect to  your data source in an unauthorized account, the corresponding credential would be created. You may need to change credential,  go to “File –> Options and Settings –> Data Source Settings”, under “Global permissions”, select old SQL Server data source connections and click on Edit permission in Power BI Desktop, then connect to it and check if it is successful.

 

If you still have this issue for Power BI, you'd better create a support ticket in Power BI Support , Scroll down and click "CREATE SUPPORT TICKET", or go to Issue forum  to get further help.

 

More links :

https://community.fabric.microsoft.com/t5/Desktop/We-couldn-t-authenticate-with-your-credentials-Ple...

https://community.fabric.microsoft.com/t5/Power-Query/We-Couldn-t-authenticate-with-the-credentials-...

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

View solution in original post

1 REPLY 1
AmiraBedh
Super User
Super User

Based on this old thread :

 

This maybe a permission/authentication error. When you ever connect to  your data source in an unauthorized account, the corresponding credential would be created. You may need to change credential,  go to “File –> Options and Settings –> Data Source Settings”, under “Global permissions”, select old SQL Server data source connections and click on Edit permission in Power BI Desktop, then connect to it and check if it is successful.

 

If you still have this issue for Power BI, you'd better create a support ticket in Power BI Support , Scroll down and click "CREATE SUPPORT TICKET", or go to Issue forum  to get further help.

 

More links :

https://community.fabric.microsoft.com/t5/Desktop/We-couldn-t-authenticate-with-your-credentials-Ple...

https://community.fabric.microsoft.com/t5/Power-Query/We-Couldn-t-authenticate-with-the-credentials-...

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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