question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az afd profile show returns Null for frontDoorId

See original GitHub issue

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.

  • Put any pre-requisite steps here…
  • az afd profile show -g {} --profile-name {} --query {}

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RakeshMohanMSFTcommented, Mar 28, 2022

@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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

az afd profile - Microsoft Learn
Name of the CDN profile which is unique within the resource group. --resource-group -g. Name of resource group. You can configure the default...
Read more >
Azure Front Door Standard/Premium - Tips, Tricks, and ...
I share my experience, lessons-learned, and tips and tricks for working with the new Azure Front Door Standard/Premium SKUs.
Read more >
Disable AFD Backend Pool's Backend Host with Azure Cli or ...
I am able to achieve your ask using PowerShell. Here is the script: $resourceGroup1 = "frontdoor" $frontDoor1 = "msrini". $afd ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found