Connecting to azure service fabric fails with 0x800b0109

1

I have set up a new Service Fabric instance and I can successfully connect to the Service Fabric Explorer to view the current state of the service. I would now like to connect to the Service Fabric instance using powershell:

Connect-ServiceFabricCluster -ConnectionEndpoint <path>:19000 -KeepAliveIntervalInSec 10 -X509Credential -ServerCertThumbprint <PrimaryCertificateThumbprint> -FindType FindByThumbprint -FindValue <Admin Client certificate thumbprint installed locally> -StoreLocation CurrentUser -StoreName My

Whenever I run this command I get the error:

Connect-ServiceFabricCluster : FABRIC_E_SERVER_AUTHENTICATION_FAILED: 0x800b0109

Can anyone tell me what is causing this error and how I fix it?

azure-service-fabric
asked on Stack Overflow Oct 17, 2017 by Slicc

1 Answer

0

The documentation is somewhat different from your command:

PS C:\> $ConnectArgs = @{  ConnectionEndpoint = 'mycluster.cloudapp.net:19000';  X509Credential = $True;  StoreLocation = 'CurrentUser';  StoreName = "MY";  ServerCommonName = "mycluster.cloudapp.net";  FindType = 'FindByThumbprint';  FindValue = "AA11BB22CC33DD44EE55FF66AA77BB88CC99DD00"   }
PS C:\> Connect-ServiceFabricCluster $ConnectArgs
answered on Stack Overflow Oct 17, 2017 by LoekD

User contributions licensed under CC BY-SA 3.0