Create Private DNS Zone Error - extension privatedns not installed

LIU, AMY 21 Reputation points
2021-01-20T04:10:09.74+00:00

The command is cycling:

az network private-dns zone create   -g demo-rg   -n svc.local

Extension privatedns (0.1.1) has been suppressed. These commands are now in the CLI.
Remove this extension with 'az extension remove --name privatedns'

The command requires the extension privatedns. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): Y

Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Extension 'privatedns' 0.1.1 is already installed.
It will be updated if available.
/usr/local/Cellar/azure-cli/2.13.0/libexec/lib/python3.8/site-packages/urllib3/connectionpool.py:846: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
warnings.warn((
/usr/local/Cellar/azure-cli/2.13.0/libexec/lib/python3.8/site-packages/urllib3/connectionpool.py:846: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
warnings.warn((
No updates available for 'privatedns'. Use --debug for more information.

Extension privatedns (0.1.1) has been suppressed. These commands are now in the CLI.
Remove this extension with 'az extension remove --name privatedns'

The command requires the extension privatedns. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n):

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
619 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 48,511 Reputation points Microsoft Employee
    2021-01-20T16:54:56.29+00:00

    Hello @LIU, AMY ,

    I was able to successfully create Private DNS zone using Cloud shell in Azure Portal:
    58812-private-dns.jpg

    If you are using the downloaded CLI client, make sure to check the version of the CLI client.
    The current version of the Azure CLI is 2.18.0. In case you have a lower version of CLI, please upgrade your CLI and try again.
    Please refer the following doc to upgrade CLI : https://learn.microsoft.com/en-us/cli/azure/update-azure-cli

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful