Closed benwa closed 1 year ago
After digging in with Rubrik engineers, we've determined that this is a bug in CDM, not the PowerShell SDK.
It relates to the Service Account not having permissions to close its own session if it does not have the AdministratorRole
assigned.
Current Behavior:
The
Disconnect-Rubrik
command does not properly delete the session when using a Service AccountExpected Behavior: The session is properly terminated Steps to Reproduce:
Please provide detailed steps for reproducing the issue.
Connect-Rubrik
with the Service Account's credentialsDisconnect-Rubrik
Context:
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
Please include any relevant log snippets or files here, IMPORTANT all information will be visible publicly on GitHub. Do not include computer or user names, passwords, API tokens or any identifiable information when submitting failure logs.