Running az purview does not install the extension as the documentation suggests
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
The documentation suggests....
**This reference is part of the purview extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az purview command. [Learn more](https://learn.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview) about extensions.**
This isn't true, not of version 2.50.0 which is higher than the specificed 2.15.0 above - needs revisiting
```
PS C:\> az --version
azure-cli 2.50.0 *
core 2.50.0 *
telemetry 1.0.8 *
Extensions:
application-insights 0.1.19
azure-devops 0.26.0
k8s-extension 1.4.3
kusto 0.5.0
ml 2.19.0
storage-preview 0.9.0
Dependencies:
msal 1.22.0
azure-mgmt-resource 23.1.0b2
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\NeilMcAlister\.azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
You have 3 update(s) available. Consider updating your CLI installation with 'az upgrade'
PS C:\> az purview
'purview' is misspelled or not recognized by the system.
Examples from AI knowledge base:
https://aka.ms/cli_ref
Read more about the command in reference docs
```
### Related command
az --version
az purview
### Errors
'purview' is misspelled or not recognized by the system.
### Issue script & Debug output
az --version
az purview
### Expected behavior
Installs as per documentation
### Environment Summary
PS C:\> az --version
azure-cli 2.50.0 *
core 2.50.0 *
telemetry 1.0.8 *
Extensions:
application-insights 0.1.19
azure-devops 0.26.0
k8s-extension 1.4.3
kusto 0.5.0
ml 2.19.0
storage-preview 0.9.0
Dependencies:
msal 1.22.0
azure-mgmt-resource 23.1.0b2
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\NeilMcAlister\.azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.