diff --git a/.github/azure-client-tools-bot/config.yml b/.github/azure-client-tools-bot/config.yml index 4d7561afac6..f5846b6c3fd 100644 --- a/.github/azure-client-tools-bot/config.yml +++ b/.github/azure-client-tools-bot/config.yml @@ -50,7 +50,7 @@ cli_common_issues: - https://github.com/Azure/azure-cli/issues/19640#issuecomment-1133875268 - https://github.com/Azure/azure-cli/issues/19640#issuecomment-1148202854 - Please follow https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux to install Microsoft official Azure CLI. + Please follow https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux to install Microsoft official Azure CLI. If you feel that further discussion is needed, please add a comment with the text `/clibot unresolve` to reopen the issue. - tag: latest_api_version_not_available diff --git a/Dockerfile.nanoserver b/Dockerfile.nanoserver index 442ac8ed942..b7ac434ebf4 100644 --- a/Dockerfile.nanoserver +++ b/Dockerfile.nanoserver @@ -11,8 +11,8 @@ LABEL maintainer="Microsoft" \ org.label-schema.version=$CLI_VERSION \ org.label-schema.license="MIT" \ org.label-schema.description="The Azure CLI 2.0 is the new Azure CLI and is applicable when you use the Resource Manager deployment model." \ - org.label-schema.url="https://docs.microsoft.com/cli/azure/overview" \ - org.label-schema.usage="https://docs.microsoft.com/cli/azure/install-az-cli2#docker" \ + org.label-schema.url="https://learn.microsoft.com/cli/azure/overview" \ + org.label-schema.usage="https://learn.microsoft.com/cli/azure/install-az-cli2#docker" \ org.label-schema.build-date=$BUILD_DATE \ org.label-schema.vcs-url="https://github.com/Azure/azure-cli.git" \ org.label-schema.docker.cmd="docker run -v $HOME\.azure:C:\Users\ContainerUser\.azure -it mcr.microsoft.com/azure-cli:$CLI_VERSION" diff --git a/README.md b/README.md index 76242adbc6a..6c6c143f90c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Take a test run now from [Azure Cloud Shell](https://portal.azure.com/#cloudshel ## Installation -Please refer to the [install guide](https://docs.microsoft.com/cli/azure/install-azure-cli) for detailed install instructions. +Please refer to the [install guide](https://learn.microsoft.com/cli/azure/install-azure-cli) for detailed install instructions. A list of common install issues and their resolutions are available at [install troubleshooting](https://github.com/Azure/azure-cli/blob/dev/doc/install_troubleshooting.md). @@ -28,7 +28,7 @@ $ az [ group ] [ subgroup ] [ command ] {parameters} ### Get Started -Please refer to the ["get started" guide](https://docs.microsoft.com/cli/azure/get-started-with-az-cli2) for in-depth instructions. +Please refer to the ["get started" guide](https://learn.microsoft.com/cli/azure/get-started-with-az-cli2) for in-depth instructions. For usage and help content, pass in the `-h` parameter, for example: @@ -87,21 +87,21 @@ For scripting purposes, we output certain exit codes for differing scenarios. ### Common scenarios and use Azure CLI effectively -Please check [Tips for using Azure CLI effectively](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively). It describes some common scenarios: +Please check [Tips for using Azure CLI effectively](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively). It describes some common scenarios: -- [Output formatting (json, table, or tsv)](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#output-formatting-json-table-or-tsv) -- [Pass values from one command to another](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#pass-values-from-one-command-to-another) -- [Async operations](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#async-operations) -- [Generic update arguments](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#generic-update-arguments) -- [Generic resource commands - `az resource`](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#generic-resource-commands---az-resource) -- [REST API command - `az rest`](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#rest-api-command---az-rest) -- [Quoting issues](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#quoting-issues) -- [Work behind a proxy](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#work-behind-a-proxy) -- [Concurrent builds](https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively#concurrent-builds) +- [Output formatting (json, table, or tsv)](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#output-formatting-json-table-or-tsv) +- [Pass values from one command to another](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#pass-values-from-one-command-to-another) +- [Async operations](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#async-operations) +- [Generic update arguments](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#generic-update-arguments) +- [Generic resource commands - `az resource`](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#generic-resource-commands---az-resource) +- [REST API command - `az rest`](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#rest-api-command---az-rest) +- [Quoting issues](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#quoting-issues) +- [Work behind a proxy](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#work-behind-a-proxy) +- [Concurrent builds](https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively#concurrent-builds) ### More samples and snippets -For more usage examples, take a look at our [GitHub samples repo](http://github.com/Azure/azure-cli-samples) or [https://docs.microsoft.com/cli/azure/overview](https://docs.microsoft.com/cli/azure/overview). +For more usage examples, take a look at our [GitHub samples repo](http://github.com/Azure/azure-cli-samples) or [https://learn.microsoft.com/cli/azure/overview](https://learn.microsoft.com/cli/azure/overview). ### Write and run commands in Visual Studio Code diff --git a/build_scripts/windows/Product.wxs b/build_scripts/windows/Product.wxs index 2db951f4a06..1d14b411d78 100644 --- a/build_scripts/windows/Product.wxs +++ b/build_scripts/windows/Product.wxs @@ -68,9 +68,9 @@ - - - + + + diff --git a/doc/authoring_command_modules/README.md b/doc/authoring_command_modules/README.md index d26365fc47a..aace2141b84 100644 --- a/doc/authoring_command_modules/README.md +++ b/doc/authoring_command_modules/README.md @@ -15,7 +15,7 @@ The document provides instructions and guidelines on how to author command modul **Test Authoring**:
https://github.com/Azure/azure-cli/blob/dev/doc/authoring_tests.md -**Generating Documentation**:
https://review.docs.microsoft.com/help/onboard/admin/reference/cli/azure-cli-ci?branch=master#documenting-a-new-azure-cli-module +**Generating Documentation**:
https://review.learn.microsoft.com/help/onboard/admin/reference/cli/azure-cli-ci?branch=master#documenting-a-new-azure-cli-module Set Up ------ diff --git a/scripts/ci/codegen_report.py b/scripts/ci/codegen_report.py index 27bd11a501e..12eb2273944 100644 --- a/scripts/ci/codegen_report.py +++ b/scripts/ci/codegen_report.py @@ -34,7 +34,7 @@ KUSTO_CLUSTER = os.environ.get('KUSTO_CLUSTER') KUSTO_DATABASE = os.environ.get('KUSTO_DATABASE') KUSTO_TABLE = os.environ.get('KUSTO_TABLE') -# get tenant id from https://docs.microsoft.com/en-us/onedrive/find-your-office-365-tenant-id +# get tenant id from https://learn.microsoft.com/en-us/onedrive/find-your-office-365-tenant-id KUSTO_TENANT_ID = os.environ.get('KUSTO_TENANT_ID') diff --git a/scripts/live_test/sendemail.py b/scripts/live_test/sendemail.py index 8a811cba491..1fbf06b9df6 100644 --- a/scripts/live_test/sendemail.py +++ b/scripts/live_test/sendemail.py @@ -42,7 +42,7 @@ KUSTO_CLUSTER = os.environ.get('KUSTO_CLUSTER') KUSTO_DATABASE = os.environ.get('KUSTO_DATABASE') KUSTO_TABLE = os.environ.get('KUSTO_TABLE') -# get tenant id from https://docs.microsoft.com/en-us/onedrive/find-your-office-365-tenant-id +# get tenant id from https://learn.microsoft.com/en-us/onedrive/find-your-office-365-tenant-id KUSTO_TENANT_ID = os.environ.get('KUSTO_TENANT_ID') PYTHON_VERSION = os.environ.get('PYTHON_VERSION') USER_BRANCH = os.environ.get('USER_BRANCH') diff --git a/scripts/release/homebrew/docker/formula_template.txt b/scripts/release/homebrew/docker/formula_template.txt index 79de7b969c2..c8bbff14aeb 100644 --- a/scripts/release/homebrew/docker/formula_template.txt +++ b/scripts/release/homebrew/docker/formula_template.txt @@ -2,7 +2,7 @@ class AzureCli < Formula include Language::Python::Virtualenv desc "Microsoft Azure CLI 2.0" - homepage "https://docs.microsoft.com/cli/azure/overview" + homepage "https://learn.microsoft.com/cli/azure/overview" url "{{ upstream_url }}" version "{{ cli_version }}" sha256 "{{ upstream_sha }}" diff --git a/scripts/release/rpm/azure-cli.spec b/scripts/release/rpm/azure-cli.spec index e63f58f7be6..d8e6b610884 100644 --- a/scripts/release/rpm/azure-cli.spec +++ b/scripts/release/rpm/azure-cli.spec @@ -21,7 +21,7 @@ License: MIT Name: %{name} Version: %{version} Release: %{release} -Url: https://docs.microsoft.com/cli/azure/install-azure-cli +Url: https://learn.microsoft.com/cli/azure/install-azure-cli Requires: %{python_package} Prefix: /usr Prefix: /etc diff --git a/src/azure-cli-core/azure/cli/core/auth/credential_adaptor.py b/src/azure-cli-core/azure/cli/core/auth/credential_adaptor.py index dc97b48e6b2..9cd15ba2ff2 100644 --- a/src/azure-cli-core/azure/cli/core/auth/credential_adaptor.py +++ b/src/azure-cli-core/azure/cli/core/auth/credential_adaptor.py @@ -23,7 +23,7 @@ def __init__(self, credential, resource=None, auxiliary_credentials=None): :param resource: AAD resource for Track 1 only :param auxiliary_credentials: Credentials from .msal_authentication for cross tenant authentication. Details about cross tenant authentication: - https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant + https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant """ self._credential = credential diff --git a/src/azure-cli-core/azure/cli/core/auth/landing_pages/success.html b/src/azure-cli-core/azure/cli/core/auth/landing_pages/success.html index d24f2fea071..a4eb5069a79 100644 --- a/src/azure-cli-core/azure/cli/core/auth/landing_pages/success.html +++ b/src/azure-cli-core/azure/cli/core/auth/landing_pages/success.html @@ -2,7 +2,7 @@ - + Login successfully