Close your PowerShell session, then open a new PowerShell session so that update can take effect.
Run the following command from a PowerShell session:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-Module -Name Az.BootStrapper -Force
# Install and import the API Version Modules required by Azure Stack into the current PowerShell session.
Use-AzProfile -Profile 2020-09-01-hybrid -Force
# Install Azure Stack Admin Module
Install-Module -Name AzureStack -RequiredVersion 2.2.0 -AllowPrerelease
Release Notes
Supported with 2108 update.
This release 2.2.0 updates the capabilities in the Azs.Compute.Admin module. This also adds new modules for working with Azure Container Registry on Azure Stack Hub: Azs.ContainerRegistry.Admin and Azs.ContainerService.Admin. The Admin modules now have a dependency on the Az.Resources module version 0.12.0. For details on the changes in this update, see the AzureStack module change log