From 7cc47f073641d5ccedc5bb3460f43b765dbe8326 Mon Sep 17 00:00:00 2001 From: Sean Greenbaum <59573176+SeanGreenbaum@users.noreply.github.com> Date: Sat, 14 Jun 2025 13:16:59 -0400 Subject: [PATCH 1/2] Update azure-ad-authentication.md Included note for URL for US Government cloud for application insights endpoint --- articles/azure-monitor/app/azure-ad-authentication.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/articles/azure-monitor/app/azure-ad-authentication.md b/articles/azure-monitor/app/azure-ad-authentication.md index d88eed6c15..9e23efe6c5 100644 --- a/articles/azure-monitor/app/azure-ad-authentication.md +++ b/articles/azure-monitor/app/azure-ad-authentication.md @@ -438,7 +438,10 @@ with tracer.start_as_current_span("hello with aad client secret identity"): ## Query Application Insights using Microsoft Entra authentication -You can submit a query request by using the Azure Monitor Application Insights endpoint `https://api.applicationinsights.io`. To access the endpoint, you must authenticate through Microsoft Entra ID. +You can submit a query request by using the Azure Monitor Application Insights endpoint `https://api.applicationinsights.io`. To access the endpoint, you must authenticate through Microsoft Entra ID. +> [!NOTE] +> If using Azure US Government cloud, the endpoint is https://api.applicationinsights.us. Replace this URL in all below examples. + ### Set up authentication From 53d951149d53a9f011a4406f09915d85c384b2e6 Mon Sep 17 00:00:00 2001 From: Sean Greenbaum <59573176+SeanGreenbaum@users.noreply.github.com> Date: Sun, 19 Oct 2025 19:40:22 -0400 Subject: [PATCH 2/2] Update articles/azure-monitor/app/azure-ad-authentication.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- articles/azure-monitor/app/azure-ad-authentication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/azure-monitor/app/azure-ad-authentication.md b/articles/azure-monitor/app/azure-ad-authentication.md index 9e23efe6c5..93c4d279c5 100644 --- a/articles/azure-monitor/app/azure-ad-authentication.md +++ b/articles/azure-monitor/app/azure-ad-authentication.md @@ -440,7 +440,7 @@ with tracer.start_as_current_span("hello with aad client secret identity"): You can submit a query request by using the Azure Monitor Application Insights endpoint `https://api.applicationinsights.io`. To access the endpoint, you must authenticate through Microsoft Entra ID. > [!NOTE] -> If using Azure US Government cloud, the endpoint is https://api.applicationinsights.us. Replace this URL in all below examples. +> If using Azure US Government cloud, replace `https://api.applicationinsights.io` with `https://api.applicationinsights.us` in all examples below. ### Set up authentication