You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
83
133
CmdletsToExport=@()
@@ -115,7 +165,7 @@ PrivateData = @{
115
165
# IconUri = ''
116
166
117
167
# ReleaseNotes of this module
118
-
ReleaseNotes='* Updated API version to 2020-07-01.'
$accountsModule=Import-Module-Name $accountsName-MinimumVersion 1.7.4-Scope Global -PassThru
30
+
$accountsModule=Import-Module-Name $accountsName-MinimumVersion 2.7.5-Scope Global -PassThru
30
31
}
31
32
}
32
33
}
33
34
34
35
if(-not$accountsModule) {
35
-
Write-Error"`nThis module requires $accountsName version 1.7.4 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps"-ErrorAction Stop
Write-Error"`nThis module requires $accountsName version 1.7.4 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error"-ErrorAction Stop
36
+
Write-Error"`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps"-ErrorAction Stop
Write-Error"`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error"-ErrorAction Stop
0 commit comments