PS /home/azureuser> Install-AzProfile -Profile 2020-09-01-hybrid -Force
Install-AzProfile: Cannot validate argument on parameter 'Profile'. The argument "2020-09-01-hybrid" does not belong to the set "2019-03-01-hybrid" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
This issue is happens when AzureRM profile map is already cached in the local machine
|
$ProfileCache = Join-Path -path $env:ProgramData -ChildPath "Microsoft\AzurePowerShell\ProfileCache" |