Skip to content

Commit 543e43b

Browse files
Merge pull request #295571 from madhurinms/master
troubleshooting edits
2 parents 3b2fa0b + caf06d4 commit 543e43b

File tree

3 files changed

+37
-10
lines changed

3 files changed

+37
-10
lines changed

articles/storage-mover/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ items:
4646
items:
4747
- name: Job run error codes
4848
href: status-code.md
49+
- name: Collect a support bundle
50+
href: troubleshooting.md
4951
- name: Resources
5052
items:
5153
- name: Monitor copy and job run logs
5254
href: log-monitoring.md
53-
- name: Collect a support bundle
54-
href: troubleshooting.md
5555
- name: Release notes
5656
href: release-notes.md
57.8 KB
Loading

articles/storage-mover/status-code.md

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: stevenmatthew
55
ms.author: shaas
66
ms.service: azure-storage-mover
77
ms.topic: how-to
8-
ms.date: 06/12/2024
8+
ms.date: 03/30/2025
99
ms.custom: template-how-to
1010
---
1111

@@ -36,7 +36,7 @@ An Azure Storage Mover agent uses string status codes for statuses that are conv
3636
Each of these scopes further divides statuses into categories and subcategories. Each subcategory typically reserves 20 status codes to accommodate future expansion.
3737

3838
> [!TIP]
39-
> *AZSM0000* is the special scope-agnostic status code indicating successful operation. This should be used to signify successful operation at any scope/level.
39+
> *AZSM0000* is the special scope-agnostic status code indicating successful operation and should be used to signify successful operation at any scope/level.
4040
4141
|Error Code |Error Message | Details/Troubleshooting steps/Mitigation |
4242
|---------------------------------|--------------|------------------------------------------|
@@ -56,9 +56,9 @@ Each of these scopes further divides statuses into categories and subcategories.
5656
| <a name="AZSM1029"></a>**AZSM1029** |Source endpoint type not supported by this agent version | This source type is unsupported by the current Storage Mover agent. |
5757
| <a name="AZSM1030"></a>**AZSM1030** |Cannot verify storage account type | Verify that the storage account and container exist, and that the agent has been granted permissions to them. |
5858
| <a name="AZSM1031"></a>**AZSM1031** |Failed to resolve target host | Review the network configuration. |
59-
| <a name="AZSM1040"></a>**AZSM1040** |Miscellaneous error while accessing target | It's likely that this error is temporary. Retry the migration job again. If the issue persists, please create a support ticket for further assistance. |
60-
| <a name="AZSM1041"></a>**AZSM1041** |Failed to send job progress | It's likely that this error is temporary. Retry the migration job again. If the issue persists, please create a support ticket for further assistance. |
61-
| <a name="AZSM1042"></a>**AZSM1042** |Failed to create job | It's likely that this error is temporary. Retry the migration job again. If the issue persists, please create a support ticket for further assistance. |
59+
| <a name="AZSM1040"></a>**AZSM1040** |Miscellaneous error while accessing target | It's likely that this error is temporary. Retry the migration job again. If the issue persists, create a support ticket for further assistance. |
60+
| <a name="AZSM1041"></a>**AZSM1041** |Failed to send job progress | It's likely that this error is temporary. Retry the migration job again. If the issue persists, create a support ticket for further assistance. |
61+
| <a name="AZSM1042"></a>**AZSM1042** |Failed to create job | It's likely that this error is temporary. Retry the migration job again. If the issue persists, create a support ticket for further assistance. |
6262
| <a name="AZSM1043"></a>**AZSM1043** |Failed to resume job | Retry or create a support ticket. |
6363
| <a name="AZSM1044"></a>**AZSM1044** |Failed to finalize the job. | Retry or create a support ticket. |
6464
| <a name="AZSM1045"></a>**AZSM1045** |Job was aborted while it was still running. | Retry or create a support ticket. |
@@ -69,8 +69,35 @@ Each of these scopes further divides statuses into categories and subcategories.
6969
| <a name="AZSM2027"></a>**AZSM2027** |Source file security descriptor has unsupported properties | Review the file's or folder's permissions. |
7070
| <a name="AZSM2061"></a>**AZSM2061** |Unknown Error encountered when scanning the source. | This is probably a transient error. Rerun the migration job. |
7171
| <a name="AZSM2062"></a>**AZSM2062** |Failed to read source file due to permission issues. | Verify that the agent has been granted permissions to the source location. |
72-
| <a name="AZSM2063"></a>**AZSM2063** |Encountered I/O error while reading source file. | It's likely that this error is temporary. Retry the migration job again. If the issue persists, please create a support ticket for further assistance. |
72+
| <a name="AZSM2063"></a>**AZSM2063** |Encountered I/O error while reading source file. | It's likely that this error is temporary. Retry the migration job again. If the issue persists, create a support ticket for further assistance. |
7373
| <a name="AZSM2069"></a>**AZSM2069** |Failed to read target file due to permission issues. | Verify that the agent has been granted permissions to the target location. |
7474
| <a name="AZSM2070"></a>**AZSM2070** |Cannot write blob because it has an active lease | This error may be caused by another agent writing to the location. Ensure no other job is running against the target. Retry or create support ticket. |
75-
| <a name="AZSM2071"></a>**AZSM2071** |Source file has been modified during transfer | It's likely that this error is temporary. Retry the migration job again. If the issue persists, please create a support ticket for further assistance. |
76-
| <a name="AZSM2080"></a>**AZSM2080** |Copy failed due to an unknown error | It's likely that this error is temporary. Retry the migration job again. If the issue persists, please create a support ticket for further assistance. |
75+
| <a name="AZSM2071"></a>**AZSM2071** |Source file has been modified during transfer | It's likely that this error is temporary. Retry the migration job again. If the issue persists, create a support ticket for further assistance. |
76+
| <a name="AZSM2080"></a>**AZSM2080** |Copy failed due to an unknown error | It's likely that this error is temporary. Retry the migration job again. If the issue persists, create a support ticket for further assistance. |
77+
78+
## Troubleshooting Storage Mover RBAC issues
79+
80+
During a job run, automatic RBAC assignments happen. If there are failures in assignments, manually add the required role assignment.
81+
82+
1. Navigate to the appropriate resource - Key Vault, File Share or Blob Container.
83+
2. Navigate to Access Control (IAM).
84+
3. Add a new role assignment: [Assign Azure roles using the Azure portal - Azure RBAC | Microsoft Learn](/azure/role-based-access-control/role-assignments-portal).
85+
4. In the Add role assignment wizard, search for the appropriate role in the table below for the resource type selected in step 1. In the below example the resource would be Key Vault.
86+
87+
:::image type="content" source="media/troubleshooting/rbac.png" alt-text="Image showing the Key Vault resource successfully assigned roles." lightbox="media/troubleshooting/rbac.png":::
88+
89+
|Resource Type |Roles required|
90+
|---------------------------------------|--------------|
91+
| <a name="Key Vault"></a>**Key Vault** |Key Vault Secrets User|
92+
| <a name="File Share"></a>**File Share** |Storage File Data Privileged Contributor|
93+
| <a name="Blob Container"></a>**Blob Container** |Storage Blob Data Privileged Contributor |
94+
95+
i. Assign access should be for “Managed Identity”.<br />
96+
ii. On the right pane, select Managed Identity type as Machine – Azure Arc.<br />
97+
iii. Select the machine arc from the list. It is of the same name as the agent.<br />
98+
iv. Complete the assignment.<br />
99+
100+
101+
102+
103+

0 commit comments

Comments
 (0)