Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
We were able to script an install of the Power BI Gateway using PowerShell, followed with the registration (done manually). Going forward, we are able to execute the same script to pick up the Power BI Gateway updates. However, during the update there's a wizard that pops-up and iirc (only done this once), we needed to select "Update" to complete the update. I'm looking for a way to "force" through the wizard for updates going forward (for lack of better term). I'm curious whether anyone has been able to accomplish this?
This is the script that fetches the .exe and installs the Gateway. In the case, where a Gateway is already installed, we can re-execute the script but it would run an update. At this point, a wizard shows up and we have to click through for the update. Looking to remove that step altogether and have the script complete the update.
$power_bi_gate_install_url ="https://download.microsoft.com/download/D/A/1/DA1FDDB8-6DA8-4F50-B4D0-18019591E182/GatewayInstall.ex..."
$power_bi_gate_download_path="$PSScriptRoot\GatewayInstall.exe"
#Installing Power BI Gateway
Write-Output "Installing Power BI GateWay =" $power_bi_gate_install_url
Invoke-WebRequest -Uri $power_bi_gate_install_url -OutFile $power_bi_gate_download_path
Write-Output "Initiating Install for Power BI Gtwy"
Start-Process -filepath $power_bi_gate_download_path -ArgumentList "/qb /norestart" -Wait
Thank you.
@catcollector A thought. Could you use Power Automate to run the script up until you get the prompt. Use button pushing magic and then run the rest of the script? So three steps in a Power Automate workflow essentially?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!