Impossible to use ConvertFrom-JSON with AZ CLI
Open
act-platform-engineering-squad
Azure CLI Team
Core
customer-reported
feature-request
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
vmDataObj='{ "type": "Array", "value": [ { "name": "AZ-AS-VN-N-SEQ018200", "nicName": "AZ-AS-VN-N-SEQ018200-NIC" } ] }' | ConvertFrom-Json
**Describe the bug**
/_temp/AZ_CLI_GITHUB_ACTION_1666366427673.sh: line 1: ConvertFrom-Json: command not found
**To Reproduce**
- uses: azure/CLI@v1
with:
azcliversion: 2.41.0
inlineScript: |
vmDataObj='{ "type": "Array", "value": [ { "name": "AZ-AS-VN-N-SEQ018200", "nicName": "AZ-AS-VN-N-SEQ018200-NIC" } ] }' | ConvertFrom-Json
**Expected behavior**
Should convert JSON string to PS object
**Environment summary**
latest az cli version
Contributor guide
Assessment
This issue has not been assessed yet.