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

Unable to Create Private Endpoint Without DNS Configuration Using Azure CLI #31027

Open
noorjahans opened this issue Mar 13, 2025 · 1 comment
Assignees
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. Network az network vnet/lb/nic/dns/etc... question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@noorjahans
Copy link

noorjahans commented Mar 13, 2025

Type of issue

Missing information

Reference command name

az network private-endpoint create

Feedback

I am trying to create a Private Endpoint using the Azure CLI without DNS configuration (i.e., without customDnsConfigs). However, when I run the az network private-endpoint create command, Azure automatically assigns a DNS configuration.
I have checked documentation: https://learn.microsoft.com/en-us/cli/azure/network/private-endpoint?view=azure-cli-latest#az-network-private-endpoint-create.
But I cannot find any argument that allows me to disable or prevent the automatic DNS configuration.

In the Azure Portal, there's a "Disable" button for DNS configuration when creating a Private Endpoint, but I can't find a similar option in Azure CLI. Is there a way to disable it during creation, or do I need to remove it separately?

Page URL

https://learn.microsoft.com/en-us/cli/azure/network/private-endpoint?view=azure-cli-latest#az-network-private-endpoint-create.

Content source URL

https://learn.microsoft.com/en-us/cli/azure/network/private-endpoint?view=azure-cli-latest#az-network-private-endpoint-create.

Author

@noorjahans

Document Id

No response

@noorjahans noorjahans added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Mar 13, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Network az network vnet/lb/nic/dns/etc... labels Mar 13, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 13, 2025
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 13, 2025

Thank you for opening this issue, we will look into it.

@yonzhan yonzhan added this to the Backlog milestone Mar 13, 2025
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 Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. Network az network vnet/lb/nic/dns/etc... 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

No branches or pull requests

3 participants