Skip to content

Commit 5a12d54

Browse files
author
Amson Liu
authored
Merge pull request #9369 from amsliu/v-liuamson-CI6616
New article for CI 6616.
2 parents f81f563 + d1bff0b commit 5a12d54

2 files changed

Lines changed: 56 additions & 9 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Troubleshoot Export of Activity Logs across Azure Subscriptions
3+
description: Troubleshooting guide for resolving issues that affect exporting activity logs across Azure subscriptions.
4+
ms.date: 07/23/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 the export of activity logs across Azure subscriptions
11+
12+
Users might experience permission-related issues that prevent successful log transfer when they try to export activity logs from one Microsoft Azure subscription to another. This guide provides troubleshooting steps to resolve these issues and successfully export logs between subscriptions.
13+
14+
## Common issues and solutions
15+
16+
- **Permission Configuration**: Make sure that the shared access policy for the event hub namespace includes **Manage**, **Send**, and **Listen** permissions. These permissions are crucial for streaming logs to Event Hubs.
17+
- **Diagnostic Settings**: Verify that the diagnostic settings are correctly configured to use the appropriate event hubs policy name. Navigate to the diagnostic settings, note the event hub policy name, and check the permissions in the event hub namespace.
18+
- **Role Assignment**: Verify that the Azure system-assigned managed identity has the necessary role assignments. Use the Azure CLI to list role assignments and verify that the **Azure Event Hubs Data Sender** role is assigned.
19+
20+
### Instructions to resolve export issues
21+
22+
1. Verify shared access policy permissions:
23+
1. Open the diagnostic settings in Azure.
24+
1. Note the event hub policy name that's used.
25+
1. Navigate to the event hub namespace and open the **Shared Access Policy** tab.
26+
1. Make sure that the **Manage**, **Send**, and **Listen** permissions are selected.
27+
28+
2. Check the role assignments:
29+
1. Go to **Access Control (IAM)** on the event hub namespace or resource group.
30+
1. Look for any Microsoft Insights or Azure Monitor-related identities that have the **Azure Event Hubs Data Sender** role.
31+
1. To list role assignments, run the following command in Azure CLI:
32+
33+
```bash
34+
az role assignment list --scope <EventHubNamespaceResourceID> --output table
35+
```
36+
37+
3. Verify data ingestion:
38+
1. Make sure that data is being ingested into the event hub as expected.
39+
1. If the issue persists, consider scheduling a remote session for further investigation.
40+
41+
## References
42+
43+
- [Authorize access to Azure Event Hubs](/azure/event-hubs/authorize-access-event-hubs)
44+
- [Diagnostic settings in Azure](/azure/azure-monitor/essentials/diagnostic-settings)
45+
- [Azure CLI Documentation](/cli/azure)

support/azure/azure-monitor/toc.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,26 @@ 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: Detailed Guide on Pushing Subscription Activity Logs to Sentinel
14+
- name: Push subscription activity logs to Sentinel
1515
href: activity-logs/config-export/pushing-subscription-activity-logs-to-sentinel.md
16-
- name: Exporting Directory Level Activity Logs to Event Hub
16+
- name: Export directory-level activity logs to Event Hubs
1717
href: activity-logs/config-export/exporting-directory-level-activity-logs-to-event-hub.md
18-
- name: Resolving Log Limit Issues in Azure Function Apps
18+
- name: Resolve log limit issues in Azure Function Apps
1919
href: activity-logs/config-export/resolving-log-limit-issues-in-azure-function-apps.md
20-
- name: Understanding and Managing Diagnostic Settings Retention
20+
- name: Understanding and managing diagnostic settings retention
2121
href: activity-logs/config-export/understanding-and-managing-diagnostic-settings-retention.md
22-
- name: Centralized Configuration of Activity Logs to Event Hub
22+
- name: Centralized Configuration of Activity Logs to Event Hubs
2323
href: activity-logs/config-export/centralized-configuration-of-activity-logs-to-event-hub.md
24-
- name: Troubleshoot Azure CLI Configuration Issues
24+
- name: Troubleshoot Azure CLI configuration issues
2525
href: activity-logs/config-export/troubleshoot-azure-cli-configuration-issues.md
26-
- name: Troubleshoot Export of Audit Logs to Another Tenant
26+
- name: Troubleshoot export of audit logs to another tenant
2727
href: activity-logs/config-export/troubleshoot-export-of-audit-logs-to-another-tenant.md
28-
- name: Troubleshoot Activity Log Download Issues
28+
- name: Troubleshooting activity log download issues
2929
href: activity-logs/config-export/troubleshoot-activity-log-download-issues.md
30-
- name: Troubleshoot Permission Errors in Activity Log Configuration
30+
- name: Troubleshoot permission errors in Activity Log configuration
3131
href: activity-logs/config-export/troubleshoot-permission-errors-in-activity-log-configuration.md
32+
- name: Troubleshoot the export of activity logs across Azure subscriptions
33+
href: activity-logs/config-export/troubleshoot-export-of-activity-logs-across-subscriptions.md
3234
- name: Application Insights
3335
items:
3436
- name: OpenTelemetry troubleshooting

0 commit comments

Comments
 (0)