rubrikinc / rubrik-powershell-sdk

The Rubrik Security Cloud SDK
https://www.powershellgallery.com/packages/RubrikSecurityCloud
MIT License
7 stars 8 forks source link

Cannot connect to RSC #24

Closed sayujshrestha closed 10 months ago

sayujshrestha commented 10 months ago

I followed exactly as the readme says. Installed the module and ran Set-RscServiceAccountFile to generate an encrypted service account file and store it in a default location. But when I run Connect-Rsc command it gives me the following error. Am I missing anything. Note: I have MFA enabled in RSC.

PS C:\Windows\system32> Connect-Rsc Connect-Rsc : One or more errors occurred. At line:1 char:1

  • Connect-Rsc
  • CategoryInfo : AuthenticationError: (:) [Connect-Rsc], AggregateException
  • FullyQualifiedErrorId : UnableToAuthenticateToRubrikSecurityCloud,RubrikSecurityCloud.PowerShell.Cmdlets.Connect _Rsc
rynardtspies commented 10 months ago

Hi @sayujshrestha

Thank you for bringing this to our attention. I have been able to reproduce this on Windows PowerShell 5.1. This issue does not occur on PowerShell (Core) 5.2+

We have identified the cause and are working on a fix.

Regards

Rynardt

sayujshrestha commented 10 months ago

Yes, it is 5.1.19041.3570. Thank you for your attention. I will be eagerly waiting for the fix.

rynardtspies commented 10 months ago

This issue has been addressed and will be fixed in the next release.