Forum Discussion
How to remove the Power BI gateway using PowerShell or REST API
Thanks lbendlin
Does this mean we still could only remove the members from the gateway?
I am trying to remove the gateway itself by using PowerShell or REST API using Service Principal.
When you remove the anchor member the entire gateway registration will be gone and all connections on that gateway too.
- tousinn3 years agoRegular Visitor
Hi lbendlin
Thanks for the replies.
May I know what the anchor member is here?
We only have the Azure Service Principal Assigned to the Gateway, which is the admin for the gateway as well.
Is the Azure Service Principal the anchor member in this case?
- lbendlin3 years agoSuper User
The anchor member is the primary VM registered as a gateway in a gateway cluster. It is a machine identifier, not a login identifier.
- tousinn3 years agoRegular Visitor
Hi lbendlin
Thanks for the reply.
What we are trying to do is to remove the whole gateway cluster by using service principal via PowerShell module or REST API, rather than removing individual gateway from the cluster.
Is it supported at the moment? If so, could we know what permissions are required for the service principal?