Around 40 TB of department drives, spread across more than 300 departments, on their way to Microsoft 365. In that programme, at a hospital with roughly 8,000 staff, I analysed and improved the performance of ShareGate and Microsoft Migration Manager. The causes I worked on were TLS inspection, endpoint scanning and disk space on the agents.
None of those three sits with Microsoft. Yet when a migration is slow, the word throttling comes up fast: Microsoft is capping the throughput, and as a customer there's little you can do about it. It's a comfortable explanation, because nobody on the project has to change anything. I only accept it once I've measured it.
What throttling actually is
Throttling exists, and Microsoft is open about it. SharePoint Online limits the number of calls per time window. An application that goes over the limit gets an HTTP 429 or 503 back, with a Retry-After header telling it how long to wait. Background applications such as migration tools face stricter limits during weekday business hours; in the evenings and at weekends the service processes more. Microsoft won't switch throttling off for you, and a support ticket won't change that. It says so in as many words in its guidance on migration performance.
The upshot is that throttling leaves traces. You can count it. If you see large numbers of 429s and 503s during the day, you have a scheduling problem, and you move the heavy work to evenings and weekends. If you hardly see any and the migration still crawls, you're looking in the wrong place.
Where Microsoft itself says the time goes
In the same documentation, Microsoft lists the factors that determine the throughput of a file share migration. Throttling is one of them. Then comes what its own telemetry and support tickets show to be the usual bottleneck: reading the source. The disk performance of the source server, the disk and memory of the machine running the agent, the number of other users on the source, antivirus competing with the agent for CPU and disk, and network speed. Throttling isn't on that second list.
That fits the route a file takes. The agent reads it from the file server, packages it in a working folder on its own disk, uploads the package to Azure storage, and only then does SharePoint import it. Microsoft writes that its own tools and those of other vendors work through the SharePoint migration API, with Azure as a staging point, and that these factors apply whichever tool you choose. The first three steps rely on infrastructure that belongs to you.
TLS inspection on the way out
In the network of a large healthcare organisation, outbound traffic rarely goes straight to the internet. A proxy or another security layer sits in between, breaking open TLS connections, inspecting them and re-encrypting them. For ordinary web traffic that's defensible. For an agent sending terabytes of packages out, it means every package goes through that process.
Microsoft is firm on this. The advice is to bypass TLS decryption and inspection for Microsoft 365 traffic, and decrypting that traffic isn't supported. The reasoning: inspection buffers and slows down requests and responses, even when there's more than enough bandwidth. One nuance helps in the conversation with the network team. A TLS decryption bypass doesn't mean the proxy has to come out of the path. Traffic can still go through it; it just isn't broken open any more.
The destinations an agent talks to are listed in the Migration Manager prerequisites: among others *.sharepoint.com as the target, and *.blob.core.windows.net and *.queue.core.windows.net for the migration API. I take that published list as the starting point, not a network trace from last week (Microsoft itself advises against that, because endpoints change). If you use another vendor's tool, take the list from its documentation.
Then I ask the network team one question: is traffic from the migration machines to these destinations decrypted, yes or no? If the answer is yes, I run the same test set once with and once without the bypass. The difference tells you enough.
Endpoint scanning on the migration machines
The second slowdown sits on the machine itself. An agent does nothing all day but read files, package them in a working folder and send them. The security software on that machine wants to see all those files too.
Microsoft mentions this in two places. The prerequisites say antivirus software can reduce migration speed, and the performance guidance says antivirus competes with the agent for CPU and disk. The advice that comes with it is to weigh the risk of turning it off.
Turning it off is not something I propose in a healthcare environment. The account an agent runs under has read access to every share being migrated. That isn't a machine to leave unprotected.
What you can discuss with the security team is a targeted, temporary exclusion, for example for the agent's working folder. Expect pushback, and rightly so. Every exclusion is a hole in the protection, and Microsoft also writes about its own antivirus that you should only define an exclusion to solve a specific problem. So measure first. During a run, check which process on the agent is keeping the CPU and the disk busy. If it's the scanner and not the migration tool, you have a substantiated request instead of a hunch.
Disk space on the agents
The third cause is the least exciting one, which is why it's the easiest to skip. A Migration Manager agent writes its logs, reports and temporary folders to a working folder, by default %appdata%\Microsoft\SPMigration. Microsoft asks for at least 150 GB of free space on an SSD for it, and more if the volume of data calls for it.
Agents are often rolled out as standard virtual machines, with a system disk that's generous for an ordinary server and not for this job. The working folder then sits in the service account's profile, on that same disk. An agent processes several tasks at once, so the space it needs isn't that of one folder but of everything in transit at that moment. And because logs and reports end up in the same folder, the free space at the start of a programme isn't the free space halfway through.
The performance guidance for SPMT and Migration Manager is specific here. The disk under the working folder partly determines the speed, so put the working folder on the fastest disk the machine has, and stop other applications that put a heavy load on the same disk. Migration Manager shows the available disk space. Look at it before you start a run, not after.
The order in which I measure
One well-measured run tells you more than a week of meetings about possible causes. I take a fixed test set and work through these points, in this order:
- Count the throttling. How many 429 and 503 responses per hour, and at what time of day. Microsoft asks for this itself when you escalate.
- The source. How fast does the agent read from the file server, and what else is that server doing at the time.
- The agent. CPU, memory and disk during the run, which process is using them, and how much space is left under the working folder.
- The way out. Is traffic to the migration endpoints decrypted, or routed through proxy authentication.
- Only then the number of agents and tasks.
That last point is at the bottom on purpose. The reflex with a slow migration is to add agents. Microsoft recommends the opposite: use the smallest number of agents that meets your schedule, because more agents means more traffic and more API calls. Their method is down to earth. Run a test with twenty to thirty tasks on one agent, note the time, and calculate from there. A second agent next to a first one that's waiting on its disk or on the inspection layer gives you two waiting agents.
When it really is Microsoft
Sometimes the comfortable explanation is simply the right one. If you see lots of 429s during the day while the agent, the source and the network are fine, the answer is a different schedule: the heavy work in the evenings and at weekends, in the time zone of the region where your tenant lives. If the tool runs under a user account instead of app-based authentication, Microsoft says that can trigger more throttling than normal. And if you get large numbers of 503s precisely in the evenings and at weekends, that's the scenario in which Microsoft does ask you to open a support ticket.
Factor in the kind of data as well. Microsoft gives an upper limit of roughly 10 TB a day for large files such as video, and 250 GB a day for small files of around 50 KB. Department drives full of small documents will never reach the speed of a disk full of video files, however well your own side is set up.
My advice is to flip the assumption. When a migration is slow, assume the cause is on your side until the measurement shows otherwise. That isn't pessimism. Your own network, your own machines and your own disks are things you can still change this week. Microsoft's limits aren't.

