Skip to content

Disable automatic module upgrades for PowerShell 6 function apps #778

@Francisco-Gamino

Description

@Francisco-Gamino

The Azure PowerShell team release a new version (2.7.3) of Az.Accounts on 3/1/22, which is not compatible with PowerShell 6. As a result, existing PowerShell 6 function apps that installed this version Az.Accounts stopped working. To mitigate this issue, the customer has two options: apply a manual work around to pin the function app to the previous version of Az.Accounts or to migrate their function app to PowerShell 7 (this migration is safe and easy).

PowerShell 6 reached EOL in September 2020 (see https://docs.microsoft.com/en-us/powershell/scripting/install/PowerShell-Support-Lifecycle?view=powershell-7.2#powershell-end-of-support-dates). PowerShell 6 function apps are still supported in Azure Functions until September 2022 (see https://docs.microsoft.com/en-us/azure/azure-functions/language-support-policy#retirement-policy-exceptions); however, we are strongly recommending that our our customers to migrate their function app to PowerShell 7 as soon as possible.

To ensure that our PowerShell 6 customers do not get an update which could potential break their function apps, we will disable optional upgrades in Managed Dependencies. To get this functionality back, the customer must migrate their function app to PowerShell 7.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions