Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication Error #111

Open
mattcoker20 opened this issue Apr 18, 2024 · 1 comment
Open

Authentication Error #111

mattcoker20 opened this issue Apr 18, 2024 · 1 comment

Comments

@mattcoker20
Copy link

Current Behavior

PS C:\Windows\system32> Connect-Rsc -ServiceAccountFile C:\Users\user\Documents\WindowsPowerShell\rubrik-powershell-sdk\rsc_service_account_default.xml
Connect-Rsc : One or more errors occurred.
At line:1 char:1
+ Connect-Rsc -ServiceAccountFile C:\Users\user\Documents\Windo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : AuthenticationError: (:) [Connect-Rsc], AggregateException
    + FullyQualifiedErrorId : UnableToAuthenticateToRubrikSecurityCloud,RubrikSecurityCloud.PowerShell.Cmdlets.Connect_Rsc

Expected Behavior

Connect to RSC but does not work. Tried creating a new service account but does not work

Steps to Reproduce

No response

Context

No response

Failure Logs

No response

@guirava guirava transferred this issue from rubrikinc/rubrik-sdk-for-powershell Jun 14, 2024
@SahFari
Copy link

SahFari commented Jun 14, 2024

I have RubrikSecurityCloud version 1.4 installed at this works.
$ServiceAccountFile = 'C:\Users\xxxxx\Documents\WindowsPowerShell\rubrik-powershell-sdk\rsc_service_account_default.xml'

Connect-Rsc -ServiceAccountFile $ServiceAccountFile

Maybe it works beacuse I had this done earlier?
Set-RscServiceAccountFile -InputFilePath C:\Temp\MyServiceAccount.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants