Azure / azure-cli

Azure Command-Line Interface
MIT License
3.97k stars 2.95k forks source link

az afd profile show returns Null for frontDoorId #21751

Closed dtupy closed 2 years ago

dtupy commented 2 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

When using the below command and querying for frontdoorId it returns null. The front door profile has an ID based on the portal and the json provided in the portal. This cli command does return what I am looking for az resource show -g rg -n profileName --namespace Microsoft.Cdn --resource-type Profiles --query properties.frontDoorId --output tsv with the correct params for the afd profile will return frontdoorID. I would assume az afd profile show would also return fronDoorId not Null.

Command Name az afd profile show

Errors:

az afd profile show -g rg --profile-name fdProfile
Command group 'afd' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
{
  "frontdoorId": null,
  "id": "*****",
  "kind": "frontdoor",
  "location": "Global",
  "name": "**********",
  "provisioningState": "Succeeded",
  "resourceGroup": "************",
  "resourceState": "Active",
  "sku": {
    "name": "Standard_AzureFrontDoor"
  },
  "systemData": null,
  "tags": {},
  "type": "Microsoft.Cdn/profiles"
}

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Expected Behavior

Environment Summary

Linux-5.4.0-1072-azure-x86_64-with-glibc2.28 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.8.12
Installer: DEB

azure-cli 2.34.1

Extensions:
front-door 1.0.16
ai-examples 0.2.5
ssh 1.0.0

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

Additional Context

yonzhan commented 2 years ago

route to CXP team

jsntcy commented 2 years ago

@t-bzhan, could you please look at the issue?

RakeshMohanMSFT commented 2 years ago

@dtupy Thank you for reaching out, we are looking into the issue and will help you with an update as soon as possible. Appreciate your patience and understanding.

dtupy commented 2 years ago

With that PR merged should this be fixed now? @RakeshMohanMSFT

RakeshMohanMSFT commented 2 years ago

@dtupy usually after the PR merge, release will be scheduled once it is done, it should be fixed. @t-bzhan can you please help us with any ETA by when the release will be completed?

dtupy commented 2 years ago

any update here? @RakeshMohanMSFT @t-bzhan

RakeshMohanMSFT commented 2 years ago

@dtupy Let me check and confirm the details of the ETA. Sorry for the delay. @t-bzhan can you please help us with any ETA for this fix?

t-bzhan commented 2 years ago

Fixed in https://github.com/Azure/azure-cli/releases/tag/azure-cli-2.35.0