rubrikinc / rubrik-powershell-sdk

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

Running Get-RscMssqlAvailabilityGroup for a specific, known good ID returns no results and no error #74

Closed clumnah closed 2 months ago

clumnah commented 4 months ago

Running Get-RscMssqlAvailabilityGroup for a specific, known good ID returns no results and no error.

SahFari commented 3 months ago

I get the same results (no results!) here. It works with Get-RscMssqlAvailabilityGroup -AvailabilityGroupName

I have installed version 1.0.

clumnah commented 3 months ago

I have a fix submitted to address this.

SahFari commented 3 months ago

It dosen't work with PSVersion 7.4.2 It works with PSVersion 7.3.9

Installed 1.1 and imported the module this morning. Logged in to RSC with a service account having admin role. Get-RscMssqlAvailabilityGroup -Id didn't worked. I am running PSVersion 7.4.2

Logged in to a server Installed 1.1 and imported the module. Logged in to RSC with a service account having custom role Get-RscMssqlAvailabilityGroup -Id worked. That server have PSVersion 7.3.9 installed.

Logged in to another server Installed 1.1 and imported the module. Logged in to RSC with a service account having custom role Get-RscMssqlAvailabilityGroup -Id it didn't work. That server has PSVersion 7.4.2 installed.

clumnah commented 2 months ago

Confirmed this is resolved in 1.3 as it works in 7.4.2