Forum Discussion
Unable to Delete Gateways
- 7 years ago
Hi b5lurker,
I got the method to remove the clusters of Data Gateway from an expert. Please refer to service-gateway-high-availability-clusters#powershell-support-for-gateway-clusters.
Regards,
Frank
Hi b5lurker,
I got the method to remove the clusters of Data Gateway from an expert. Please refer to service-gateway-high-availability-clusters#powershell-support-for-gateway-clusters.
Regards,
Frank
- b5lurker7 years agoAdvocate II
Thanks Frank, that did it! :)
- Fandango685 years agoRegular Visitor
None of the above worked for me.
However, I was able to remove the Gateway Cluster by actually logging in as myself (the original creator of the cluster), and using Powershell. Using the On-Premises Gateway admin account did not work, because I was not logged in as it.
My steps:
> Install-Module -Name DataGateway
> Login-DataGatewayServiceAccount
WARNING: (False) MSAL 4.27.0.0 MSAL.NetCore Microsoft Windows 10.0.19043 [08/04/2021 04:55:55 - ] Exception type: Microsoft.Identity.Client.MsalUiRequiredException
, ErrorCode: user_null
HTTP StatusCode 0
CorrelationIdat Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.RunAsync(CancellationToken cancellationToken)you will get asked to log into your Office 365 account. Go ahead.
Next get the Cluster ID to remove:
> Get-DataGatewayCluster
Id : ################ your ID
Name : PowerBIgateway
etc etcAnd using the ID, remove it:
> Remove-DataGatewayCluster -GatewayClusterId ##YOUR ID##