|
| 1 | +--- |
| 2 | +description: > |
| 3 | + When accessing the Scheduled Actions section in Netwrix Access Analyzer, the console may fail to load with the error "Sequence contains more than one matching element." This occurs when duplicate job files exist in the Jobs directory. Learn how to identify and resolve this error. |
| 4 | +keywords: |
| 5 | + - Netwrix Access Analyzer |
| 6 | + - NAA |
| 7 | + - Scheduled Actions |
| 8 | + - SAJOB error |
| 9 | + - duplicate job file |
| 10 | + - jobs directory |
| 11 | + - task initialization |
| 12 | + - failed to get tasks |
| 13 | + - console error |
| 14 | + - backup job conflict |
| 15 | +products: |
| 16 | + - access-analyzer |
| 17 | +sidebar_label: 'Error: Failed to Initialize Task SAJOB – Sequence Conflict' |
| 18 | +title: 'Error: Failed to Initialize Task SAJOB – Sequence Contains More Than One Matching Element' |
| 19 | +knowledge_article_id: kA0Qk000000XXXXKAA |
| 20 | +--- |
| 21 | + |
| 22 | +# Error: Failed to Initialize Task SAJOB – Sequence Contains More Than One Matching Element |
| 23 | + |
| 24 | +## Related Queries |
| 25 | + |
| 26 | +- “Netwrix Access Analyzer Scheduled Actions not loading” |
| 27 | +- “Failed to initialize task SAJOB… sequence contains more than one matching element” |
| 28 | +- “Duplicate job name causing console error” |
| 29 | +- “NAA job loading issue” |
| 30 | + |
| 31 | +## Symptom |
| 32 | + |
| 33 | +When accessing the **Scheduled Actions** section in **Netwrix Access Analyzer (NAA)**, the following error appears: |
| 34 | + |
| 35 | +```text |
| 36 | +Failed to get tasks. Error: Failed to initialize task SAJOB~JobName~{GUID}.job. |
| 37 | +Error: Sequence contains more than one matching element |
| 38 | +``` |
| 39 | + |
| 40 | +## Cause |
| 41 | + |
| 42 | +Netwrix Access Analyzer scans the entire `Jobs` directory—including all subfolders—for job files. Each job must be uniquely identified by the system. |
| 43 | + |
| 44 | +This error occurs when **multiple copies of the same job file** exist within the `Jobs` directory tree, often because someone copied job folders into a subfolder such as `Backup` for safekeeping. |
| 45 | + |
| 46 | +Renaming the folder (for example, `BU_Backup`) does **not** resolve the issue. All subfolders under `Jobs` are scanned. |
| 47 | + |
| 48 | +> Copying jobs between valid group folders is supported. For example: |
| 49 | +> - `1-FSAA_SystemScan` |
| 50 | +> - `1-FSAA_SystemScan1` |
| 51 | +> |
| 52 | +> These are fine because they are treated as separate jobs. |
| 53 | +
|
| 54 | +## Resolution |
| 55 | + |
| 56 | +### Step 1: Search for Duplicate Job Names |
| 57 | + |
| 58 | +1. Open **File Explorer**. |
| 59 | +2. Navigate to `%SAInstall%\Jobs`. |
| 60 | +3. Use the **Search** bar to search for the job name listed in the error (for example, `AD Users`). |
| 61 | +4. Look for the **same job name appearing in more than one folder**, especially in folders such as `Backup`, `Archive`, or other custom subfolders inside `Jobs`. |
| 62 | + |
| 63 | +> If the same job appears in multiple locations with the **exact same name**, that is likely the cause of the conflict. |
| 64 | +
|
| 65 | +### Step 2: Remove or Move the Extra Copy |
| 66 | + |
| 67 | +- **Move any backup copies** outside of the `Jobs` directory (for example, to `C:\JobBackups`). |
| 68 | +- Or, if no longer needed, **delete the duplicate copy**. |
| 69 | + |
| 70 | +### Step 3: Relaunch the Console |
| 71 | + |
| 72 | +After cleaning up the duplicates: |
| 73 | + |
| 74 | +- Restart **Netwrix Access Analyzer**. |
| 75 | +- The **Scheduled Actions** view should now load without errors. |
| 76 | + |
| 77 | +## Best Practice |
| 78 | + |
| 79 | +> **Do not store backup jobs inside the `Jobs` directory.** Always move backups to a folder outside of it (for example, `C:\JobBackups`) to avoid conflicts. |
0 commit comments