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 


The issue should be mitigated now.

Frequent Visitor

Thanks @SinanE the error see to be fixed 

Regular Visitor



Not applicable


Reporting back in from yesterdays outage, all seems to be well, I was able to add SQL connections without any errors this time around.



It would be interesting to know what happened.  It's always hard to know how much to reveal about one's internal processes to customers, but this does seem like a pretty big thing (named instances) to have slipped by QC and regression testing.  We've all let things like this slip by, and it's helpful and humanizing sometimes to reveal where the lapse happened and why.

Frequent Visitor

Hi @SinanE

We seem to have an new but simmilar problem now

Invalid Mashup Expression using supplied values. inner exception: An error happened while reading data from the provider: 'Instance failure.'

Please can you check this 

Frequent Visitor

I'm facing the same issue right now. 

I had an issue connecting this morning but did a restart of the On-Premise Data Gateway and everything's back up. Might be worth a try?

Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,509)