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 / Gateway installation?
Power Apps
Answered

Gateway installation?

(0) ShareShare
ReportReport
Posted on by 42

I am currently working on PowerApps to pull data from SQL server(installed on different server). I installed gateway on office desktop to assess SQL database. But my app is not working on home machine. Gateway Error occurs. And also it is not working for other colleague even I shared the App and has access to SQL server. App should work within organisation / outside of oragnisation for client.

May be On premises Gateway should install where SQL server install?
Can you suggest best practise in this Scenario?

Thanks for your time.

Categories:
I have the same question (0)
  • timl Profile Picture
    36,823 Super User 2026 Season 1 on at

    Hi @sanrajbhar

     

    Have you ever been able to access your SQL data from your app, or is this a problem that has started recently? If you go to Control Panel > Services, is the 'On-premises data gateway service' running? If you log onto the PowerApps portal and go to 'Gateways', what's the status of your gateway?

     

    The main best practice is to install the gateway on a fast computer that is constantly connected to the Internet. The gateway does not need to be installed on the same machine as your SQL Server.

  • Verified answer
    sanrajbhar Profile Picture
    42 on at

    Thanks for reply.

     

    I installed Gatway on my desktop pc. and everytime I need to restart "On premise gateway" services. it seems now obivous that after office hours, app will not going to work for others (shared app with them).  could you please help how can I replace this gateway with new gateway installed on fast computer connected to internet without hampering app setting and controls.

  • timl Profile Picture
    36,823 Super User 2026 Season 1 on at

    You can find more details about the on-premises gateway here:

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/gateway-reference

     

    The pertinent point is that when you first installed the gateway, you will have provided a 'recovery key'. When you install the gateway on your new faster computer, you can select the 'migrate, restore, or take over an existing gateway' option, type in your recovery key, and follow the process to replace your existing gateway.

  • sanrajbhar Profile Picture
    42 on at

    How to retrive 'recovery key'? any idea?

  • timl Profile Picture
    36,823 Super User 2026 Season 1 on at

    The 'recovery key' is the secret key that you provided when you first installed the gateway. Have you forgotten it?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,041

#2
11manish Profile Picture

11manish 676

#3
Valantis Profile Picture

Valantis 655

Last 30 days Overall leaderboard