Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

SQL server connection issue

Good Day 

Over the weekend one of our Powerapps appliactions stopped working we are running Power apps SQL connector through a on premises gateway to SQL Server 2012, the gateway seem to be fine the PowerBI reports runlike nothing has changed. 

When we go to the powerapps web application and test the connection we get an error

"Credentials are missing or not valid. inner exception: Credentials are required to connect to the SQL source." 

but the it was working 5 days ago 


The Gateway log says
Non-gateway exception encountered in activity scope: Microsoft.Data.Mashup.MashupCredentialException (0x80004005): Credentials are required to connect to the SQL source.


We are using the correct login details into the connector it is like it is not passing them on the the server when trying to connect?

Anyone had this issue or know where to start looking 


Accepted Solutions

The issue should be mitigated now.

View solution in original post

Advocate III
Advocate III

Hello can you please give us a solution?  Our applications are stopped because of this.

Not applicable

Have the same issue... asked at monday but there is still no reaktion by anyone.

Not applicable

Have the same issue since Monday... 

Memorable Member
Memorable Member

Just lost connectivity to all my SQL sources with On-Premise Gateway as well.


No clue if it's a Windows Update that's caused this but it would be nice to have a solution...

And it looks like I'm having the same issue:  Credentials are missing or not valid. inner exception: Credentials are required to connect to the SQL source.  Suddenly happened today.  Working late yesterday.

Regular Visitor

Same problem here


Frequent Visitor

Same problem here guys...Smiley Sad


Just a question: does your SQL server has an named instance? (ie SQLSERVER\INST01)

I've tried to create a connection to a SQL Server with a default instance and it works... bah...

Regular Visitor

I'm using this:\PMTLMSSQLDEE01 (x=#). 

No issues until today.

Logged onto server, reinstalled new Gateway update, added existing gateway on server, logged to PowerApp and still has same credential error message.

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (72,785)