Open-SmConnection Returns Error 400 Bad Request
Applies to
SnapCenter Server (SC)
Issue
- When trying to open an connection to SnapCenter with powershell using the command
open-smconnection
from an administrative powershell window The following error is returned:
open-smconnection : GetRequestAsync to [ https://localhost:8146/services/Sett...igurationData] error:
StatusCode = [400], Reason = [Bad Request]
At line:1 char:1
+ open-smconnection
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (SmPSSnapin.PSAddSmSession:PSAddSmSession) [Open-SmConnection], Exception
+ FullyQualifiedErrorId : Operation failed,SmPSSnapin.PSAddSmSessio
n
-
Logging into the GUI is unaffected