Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front-door extension can not find existing front door resources #5170

Closed
petersladek opened this issue Jul 28, 2022 · 6 comments · Fixed by #5180
Closed

front-door extension can not find existing front door resources #5170

petersladek opened this issue Jul 28, 2022 · 6 comments · Fixed by #5180
Assignees
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. CXP Attention This issue is handled by CXP team. extension/front-door needs-author-feedback More information is needed from author to address the issue. Network - Front Door Network question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@petersladek
Copy link

petersladek commented Jul 28, 2022

Related command

az network front-door list
basically all front-door commands

Extension name (the extension in question)

front-door

Description of issue (in as much detail as possible)

I was trying to use AZ cli to execute some command against existing front-door, but found out that front-door extension is unable to locate any FD resources by name or resource id for any command I tried. I was getting (ResourceNotFound) error. Then found out that executing "az network front-door list" returns empty array. I tried multiple subscriptions containing front door resource, access with different accounts, using AZ cli both on windows and linux, and the result was the same.

Update: I am using latest version 1.0.16 of the front-door extension.

@ghost ghost added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. Network labels Jul 28, 2022
@ghost ghost added this to the Backlog milestone Jul 28, 2022
@ghost ghost assigned necusjz Jul 28, 2022
@ghost ghost added the Auto-Assign Auto assign by bot label Jul 28, 2022
@yonzhan yonzhan added extension/front-door Network - Front Door CXP Attention This issue is handled by CXP team. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 28, 2022
@ghost
Copy link

ghost commented Jul 28, 2022

Thank you for your feedback. This has been routed to the support team for assistance.

@yonzhan
Copy link
Collaborator

yonzhan commented Jul 28, 2022

route to CXP team

@navba-MSFT navba-MSFT assigned navba-MSFT and unassigned necusjz Aug 2, 2022
@navba-MSFT
Copy link
Contributor

@petersladek Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@navba-MSFT
Copy link
Contributor

@petersladek While I ran the command az network front-door list it was able to list the frontdoor resource details. I am using the front-door extension version 1.0.16 with AzCLi 2.38 version.

Could you please follow the below action plan and check if that helps ?

Plan 1:
Run the below commands in order and check if that helps:

  • az login
  • az account set --subscription "XXXXXXX-XXXX-XXXX-XXXX"
  • az network front-door list

Plan 2:
If you still face the same issue, please run the command with --debug switch and share the debug output here. Awaiting your reply.

@navba-MSFT navba-MSFT added needs-author-feedback More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Aug 2, 2022
@petersladek
Copy link
Author

That is not working for me. However I found out the root cause. az network front-door can only be used on front door classic. For standard/premium you have to use new command az afd that I found only by accident when browsing available az commands. The problem is that if you google "az cli front door" all links refer to az network front-door and in documentation it is not mentioned that it only works for front door classic. It should really be added, I wasted several hours because of that.

@ghost ghost added needs-team-attention This issue needs attention from Azure service team or SDK team and removed needs-author-feedback More information is needed from author to address the issue. labels Aug 2, 2022
navba-MSFT added a commit to navba-MSFT/azure-cli-extensions that referenced this issue Aug 2, 2022
@navba-MSFT
Copy link
Contributor

@petersladek Thanks for the update and sharing the feedback. I have created the above PR to update our documentation. It is currently under review. In the meantime if you have any questions, please feel free to ask.

@navba-MSFT navba-MSFT added needs-author-feedback More information is needed from author to address the issue. and removed needs-team-attention This issue needs attention from Azure service team or SDK team labels Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. CXP Attention This issue is handled by CXP team. extension/front-door needs-author-feedback More information is needed from author to address the issue. Network - Front Door Network question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants