-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Error when importing Az.DataProtection v1.0.0 in Windows PowerShell #19997
Comments
PR is merged for the fix - #20035 |
@isra-fel : this could be released in upcoming milestone - https://github.com/Azure/azure-powershell/milestone/136 (06/12) or earlier with an OOB release ! |
This needs to be an out of band release as it breaks environments when this module gets loaded. |
As a workaround can use Powershell 7 (Powershell core) to import the Az module or can fallback to the previous Az module - https://www.powershellgallery.com/packages/Az/9.0.1 Steps to uninstall and install the latest module -
|
@isra-fel can we plan to fix the import command in Powershell 5 with the fix released ? |
cc @Nickcandy we need to work on an OOB release of Az.DataProtection. @hiaga will submit the request shortly. |
Hi all, we have released Az.DataProtection v1.0.1 to address this issue. Please upgrade it to the latest version by Install-Module -Name Az.DataProtection -Force The "Az" rollup module will be updated early December. |
Description
When I import Az.DataProtection v1.0.0 in Windows PowerShell I got the following error:
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: