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
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
Workaround is to do the following and then continue with Get-AzApiProfile -update
bganapa
changed the title
Install-AzProfile Cannot validate argument on parameter 'Profile'.
Install-AzProfile : Cannot validate argument on parameter 'Profile'.
Jun 4, 2021
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
azurestack-powershell/src/Az.BootStrapper/Module/Az.Bootstrapper.psm1
Line 35 in e7f9849
The text was updated successfully, but these errors were encountered: