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 / Error importing soluti...
Power Apps
Unanswered

Error importing solution: Your app needs permission to use for SQL Server

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

After import of solution from Dev, app is not accessible in UAT and Prod because of the error attached. Tried using unmanaged solution and add required components. SQL connections are also visible in the solution.
1. Getting error while importing the unmanaged solution in UAT Environment from Dev Environment.
Please find the below screenshot,

 

 


When click on Ask for access getting below message, when cx click on SQL Server Connection link it redirects the Default environment page.

Path: Dev Environment -> Solutions -> Select  Solution " Auditorium Booking" -> Export "Auditorium Booking App".
UAT Environment -> Solutions -> Select Import solution -> Browse " Auditorium Booking App" -> Imported successfully -> while playing the app and its getting error.

SQLConnectionError (2).PNG
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @MeghanaMothiki,

    From your description, it doesn't look like the error is with the unmanaged solution or import process. Looking at the screenshot, this is as designed. The current users will need to "grant' access to the SQL Server connector because the authentication to this database is with the current user.

    If your authentication is with a service account or SPN, set up the connection in UAT before importing the solution. Then the 1st time you import the solution add the connection reference to the solution and any subsequent imports, do not include the connection reference(s).

    BTW it's strange you have 3 SQL Server connectors, have a look at your app and try to have just one by removing the other 2 and mapping the table from the existing connector.

    Hope this clarifies...

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