azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Get-AzRecoveryServicesVaultSettingsFile: X509Certificate is immutable on this platform. Use the equivalent constructor instead.

Open mdurini opened this issue 5 years ago • 3 comments

Description

Get-AzRecoveryServicesVaultSettingsFile cmdlet does not work even after providing '-certificate' parameter. Same error related to this issue. The workitem linked by Sharmistha-Rai is not accessible to me

Steps to reproduce

Import AZ module and run the cmdlet Get-AzRecoveryServicesVaultSettingsFile providing the required parameters.

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.19041.610
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.610
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Module versions

Latest version

Error output

Get-AzRecoveryServicesVaultSettingsFile: X509Certificate is immutable on this platform. Use the equivalent constructor instead.

mdurini avatar Jan 25 '21 12:01 mdurini

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @pvrk.

Issue Details

Description

Get-AzRecoveryServicesVaultSettingsFile cmdlet does not work even after providing '-certificate' parameter. Same error related to this issue. The workitem linked by Sharmistha-Rai is not accessible to me

Steps to reproduce

Import AZ module and run the cmdlet Get-AzRecoveryServicesVaultSettingsFile providing the required parameters.

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.19041.610
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.610
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Module versions

Latest version

Error output

Get-AzRecoveryServicesVaultSettingsFile: X509Certificate is immutable on this platform. Use the equivalent constructor instead.
Author: mdurini
Assignees: -
Labels:

Recovery Services Backup, Service Attention, customer-reported, needs-triage, question

Milestone: -

ghost avatar Jan 27 '21 15:01 ghost

@mdurini , thanks for reporting. Please share the debug message after setting $DebugPreference="Continue"

dingmeng-xue avatar Jan 27 '21 15:01 dingmeng-xue

Hello @dingmeng-xue, I will close this issue because I got the solution in another issue not opened by me

https://github.com/Azure/azure-powershell/issues/12541

mdurini avatar Jan 28 '21 06:01 mdurini