Moving an on-premises Power BI Data Gateway from one Windows Server to another can be done effectively by following a structured process. Here's the best way to do it:
✅ Overview of Migration Options
There are two main approaches depending on your needs:
- Install a New Gateway on the New Server (Recommended)
- Move the Existing Gateway (Advanced/Not Officially Supported)
We’ll focus on the recommended method, which is more stable and supported by Microsoft.
✅ Recommended Method: Install a New Gateway on the New Server
🔹 Step-by-Step Instructions
1. Download the Power BI Gateway Installer
2. Install the Gateway on the New Server
- Run the installer on the new server.
- Choose "On-premises data gateway" during installation (not the personal mode).
- During setup:
- Choose a name for the new gateway.
- Sign in with the same account used in the old gateway (usually the Power BI Admin or Gateway Admin).
3. Reconfigure Data Sources
- Go to the Power BI Service > Settings > Manage gateways.
- You should now see the new gateway listed.
- For each data source that was connected through the old gateway:
- Edit the data source.
- Re-point it to use the new gateway.
- Re-enter credentials if necessary.
⚠️ Note: This step ensures that reports/datasets using on-premises data sources continue to function properly.
4. Verify All Connections Are Working
- Trigger a manual refresh for datasets using the new gateway.
- Check the Gateway status and Data Source status in the Power BI portal.
5. Uninstall Old Gateway (Optional)
- Once everything is confirmed working:
- Uninstall the old gateway from the original server.
- Remove it from the Power BI service under Manage Gateways.
🛑 Not Recommended: Moving an Existing Gateway (Advanced)
Microsoft does not officially support moving or copying an existing gateway installation to another machine due to encryption, registration, and security concerns.
However, technically, you could try:
- Copying the gateway folder and registry keys (if available).
- Re-registering the gateway (complex and may not work reliably).
This method often leads to issues like:
- "Could not establish trust with gateway"
- Authentication failures
- Inconsistent behavior in Power BI Service
➡️ So it’s best avoided unless absolutely necessary.
🧠 Tips & Best Practices
📌 Summary
| Task | Description |
|---|
| Install New Gateway | On the new server using official installer |
| Use Same Account | To maintain permissions and ownership |
| Repoint Data Sources | Update each data source in Power BI to point to the new gateway |
| Test Connectivity | Manually refresh datasets and check logs |
| Remove Old Gateway | After confirming success |
If you need help scripting this or automating part of the migration (like updating many data sources), let me know!