Skip to content

Commit cb012e1

Browse files
author
amsliu
committed
New article for CI 6610
1 parent 683ccba commit cb012e1

3 files changed

Lines changed: 50 additions & 10 deletions

File tree

support/azure/azure-monitor/activity-logs/config-export/new.md

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Troubleshoot Azure CLI Configuration Issues
3+
description: Troubleshooting guide for Azure CLI configuration issues.
4+
ms.date: 07/17/2025
5+
ms.reviewer: v-liuamson; v-gsitser
6+
ms.service: azure-monitor
7+
ms.custom: I can’t configure export of Activity Logs
8+
---
9+
10+
# Troubleshoot Azure CLI Configuration Issues
11+
12+
This article addresses issues related to configuring the export of Azure Activity Logs using PowerShell or CLI. Users may encounter difficulties executing PowerShell commands due to missing proxy certificates.
13+
14+
## Common Issues and Solutions
15+
16+
- **Issue:** PowerShell commands fail to execute.
17+
- **Root Cause:** Missing proxy certificates required for command execution.
18+
19+
### Step-by-Step Instructions to Resolve Configuration Issues
20+
21+
#### 1. Verify Proxy Settings
22+
23+
- Navigate to the **Network & Internet** settings on your system.
24+
- Ensure that the proxy settings are correctly configured to allow PowerShell access.
25+
26+
#### 2. Install Proxy Certificates
27+
28+
- Download the necessary proxy certificates from your network administrator.
29+
- Open the **Certificates Manager** by typing `certmgr.msc` in the Windows search bar.
30+
- Import the downloaded certificates into the **Trusted Root Certification Authorities** store.
31+
32+
#### 3. Test PowerShell Command Execution
33+
34+
- Open PowerShell and run a test command to verify if the issue is resolved.
35+
- Example command: `Get-AzActivityLog -MaxRecord 5`
36+
37+
#### 4. Check Azure CLI Configuration
38+
39+
- Ensure that the Azure CLI is updated to the latest version by running `az upgrade`.
40+
- Verify that the CLI is configured correctly by executing `az configure`.
41+
42+
## Reference
43+
44+
- [Azure CLI Documentation](https://learn.microsoft.com/azure/cli/)
45+
- [PowerShell Documentation](https://learn.microsoft.com/powershell/)
46+
- [Azure Activity Logs Overview](https://learn.microsoft.com/azure/azure-monitor/essentials/activity-log)
47+
48+
If the issue persists after following the solution steps, please open a support case for further assistance.

support/azure/azure-monitor/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ items:
1111
href: activity-logs/config-export/understanding-and-transitioning-from-legacy-to-diagnostic-settings.md
1212
- name: Diagnostic Settings Transition from Legacy Solutions
1313
href: activity-logs/config-export/diagnostic-settings-transition-from-legacy-solutions.md
14-
- name: New
15-
href: activity-logs/config-export/new.md
14+
- name: Troubleshoot Azure CLI Configuration Issues
15+
href: activity-logs/config-export/troubleshoot-azure-cli-configuration-issues.md
1616
- name: Application Insights
1717
items:
1818
- name: OpenTelemetry troubleshooting

0 commit comments

Comments
 (0)