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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.