Skip to content

Install-AzProfile : Cannot validate argument on parameter 'Profile'. #103

@bganapa

Description

@bganapa

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"

Metadata

Metadata

Assignees

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