dougp
dougp

Reputation: 3089

Rename a Power BI On Prem Data Gateway

How can I rename an on prem data gateway?

I have found questions and answers about this, but none of them appear to be correct. Let me explain:

The gateway cluster can be renamed via the Power Platform Admin Center. The gateway cannot.
Installing a gateway on a new computer and "taking over" another gateway does not change its name.

The DataGateway module in PowerShell doesn't appear to provide a way to set the properties of a gateway cluster member. (No Set-DataGatewayClusterMember command.)

Alternately, How can I change which gateway is primary in the gateway cluster?

Again, I have found lots of incomplete or wrong information online.

Again, looking at the DataGateway module in PowerShell, Set-DataGatewayCluster doesn't appear to provide a way to define which instance is primary (maybe a -PrimaryInstance or -PrimaryMember parameter?)

Then I thought...

What if I remove all cluster members? Does the cluster still exist? Can I then create a new gateway, add it to the cluster, and give it the correct name and expect that to become the primary member?

So I created a new gateway without adding it to a cluster. A new cluster was created. I added a new data source to it. Then I uninstalled the gateway from the machine and removed it (the primary member) from the cluster via Power Platform Admin Center. The cluster was immediately destroyed. I reinstalled the gateway to try to connect it to the new cluster. Sure enough... it's not there.

So, removing the primary gateway destroys the gateway cluster and all related data sources. That wouldn't really be part of my preferred solution.

Other options

Maybe I can find and change the gateway name in the the Windows Registry of the computer where I installed the gateway. Nope.

Maybe:

Or I can avoid some downtime if I...

Maybe some of that could be done by a PowerShell script. But I don't see that Set-DataGatewayClusterDatasource provides any way for me to set the login credentials.

Either way, I need to spend a bunch of time completely reconfiguring how Power BI connects to all of my data sources because Microsoft won't let me update one small, arbitrary piece of text? That can't be right.

So... What is the correct way to rename a Power BI On Prem Data Gateway?

Upvotes: 1

Views: 1796

Answers (0)

Related Questions