web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Azure-hosted SQL Datab...
Power Apps
Unanswered

Azure-hosted SQL Database - Unknown Mashup Exception

(0) ShareShare
ReportReport
Posted on by 1

Hi all,

 

This is my first attempt at PowerApps. I have a relatively simple SQL database running in Azure, and have created a connection config in PowerApps.

 

I can reach this DB from my PC using Management Studio so I know it's running and the credentials are right. However, both desktop and web versions of PowerApp designer get this same error after connecting, selecting the table, then the "building the app" animation appears, then I get error:

 

{"status":502,"message":"Unknown Mashup Exception.\r\n     inner exception: Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details.","source":"127.0.0.1"}

 

Does anyone know why this is happening?

 

 

Categories:
  • AN-23072011-0 Profile Picture
    Microsoft Employee on at

    Hi Sethwid - thanks for reporting this issue. We'll investigate this and provide you an update.

  • Ceebu Profile Picture
    10 on at

    I have the same problem Smiley Sad

     

    And the irony is I migrated from Excel in OneDrive for business to CDM and to SQL Azure 😞

  • faisalmo Profile Picture
    Microsoft Employee on at

    Hey - sorry about the trouble. @SameerCh - can you help look into this please?

  • James Profile Picture
    2 on at

    I had the same problem when trying to connect to a simple Azure SQL database, consisting of a single table with two columns of data.

     

    In the end, the fix for me was to create a new table, before adding the regular columns I added the first column based on the int data types and set this to be the primary key (right click the column to do this in management studio). Then add the remaining columns as normal.

     

    I also set my database to the S0 Standard pricing tier, it was originally configured on the Basic tier.

     

    Hope that helps,

     

    James.

  • afoxapps Profile Picture
    2 on at

    Same issue here as well.

  • JS-27041152-0 Profile Picture
    on at

     

    The most common reason for this issue is that you are trying to connect to a table that doesnt have a primary key.  Can you check if the table you are trying to connect to has a primary key column.

     

    We are working on making this more obvious to the user.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @SameerCh, thanks, this suggestion resolves the 502 error. Do you know when the error message will be made more obvious?

  • Christoph_G Profile Picture
    62 on at

    Hello

    Are there any news concerning this error? Just got it when trying to create a record with a Flow in an Azure SQL DB. The insert command affects just one table (which has a PK since this was stated as a possible reason for the error).
    The strange thing is, that basically the same connection works when using it in Azure LogicApp with the same DB on the same DB-server.

    Best Regards,
    Christoph

  • JS-27041152-0 Profile Picture
    on at

    Sorry I misundertood.  I dont know upfront what could cause this issue.  If you send across the FlowID, or the detailed output of the failed step, it will probably help us get to understand what went wrong.

     

    Sometimes, 502 can be transient errors.

  • Digvijay Profile Picture
    10 on at

    Hello Archanan,

     

    One of our PowerApps Application is in production and now most of them are getting an error related to Azure Sql Server, Can you please guide how to resolve the issue.

    Please find the attached error screenshot.errormsg.png

     

    Please revert it back ASAP.

    Email - digvijay@te.com

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard