Fix SharePoint Migration Agent Stopped Scanning After Folder Deletion
Question details
The user needs to restore the scanning process of the SharePoint Migration Agent after it unexpectedly halted due to the original source folder being deleted or relocated.

- Product
- SharePoint Migration Agent
- Device & OS
- not provided
- Scenario
- Migrating local files to Microsoft 365 when the source folder is deleted, causing the migration agent to stop scanning.
- Observed behavior
- The migration agent halts its scanning process and fails to proceed with the migration because the configured source path no longer exists.
Ensure you know the exact new directory path or replacement location of the deleted source folder before attempting to update your migration agent configuration.
Modify the Source Path in Migration Agent
Update the existing migration task with the new or corrected folder path to resume the scanning process.
If a source folder is accidentally deleted or intentionally moved during a migration setup, the agent loses track of the files. Updating the source path directly in the task settings is the quickest way to resolve this.
Open the SharePoint Migration Agent and locate the migration task that has stopped scanning. Select the specific source path that is causing the error.
Choose the 'Modify source path' option from the available actions for that task.
Type in or browse to the current, valid folder location that replaces the deleted directory.
Click on 'Scan content' to force the agent to re-evaluate the new folder and resume the process.

Delete and Recreate the Migration Path
If modifying the source path does not trigger a new scan, delete the stalled path and add it fresh.
Open a Microsoft 365 Support Request
If the scanning still refuses to resume, escalate the issue to Microsoft Support with the necessary diagnostic logs.
Looking for a Lightweight Office Alternative?
While managing complex Microsoft 365 migrations, you might want a fast, straightforward, and reliable office suite for daily document tasks. WPS Office offers excellent compatibility with Microsoft formats without the heavy resource usage.
- 1. Visit the WPS Office Website: Go to the official WPS Office website to find the latest free version.
- 2. Download the Installer: Click the download button corresponding to your operating system.
- 3. Install and Work: Run the installer and immediately start handling your Word, Excel, and PowerPoint documents with ease.

Frequently Asked Questions
Where can I find the SharePoint Migration Agent logs?
The migration agent logs are typically stored in the `%appdata%\Microsoft\MigrationAgent\Logs` folder on the computer where the agent is installed. You will need to compress these files into a zip archive when submitting a Microsoft support ticket.
Can I rename a source folder while the Migration Agent is scanning?
No, it is highly recommended not to rename, move, or delete source folders while a scan or migration is actively in progress. Doing so will invalidate the configured path and cause the agent to stop scanning.
Why does the 'Scan content' button remain inactive after updating the path?
The 'Scan content' button might remain inactive if the newly entered path is invalid, if the agent lacks the necessary file system permissions to access the new location, or if it has temporarily lost connection to the Microsoft 365 admin center.




