Hi @Tom Weatherill ,
If you need removing assignments from Planner tasks, you need to send a delete request, look at your code, and see that you are sending an update request, which is used to update assignments.
I also did the test to remove assignments and it ran successfully, share my code below.
Import-Module Microsoft.Graph.Planner
Remove-MgPlannerTask -PlannerTaskId $plannerTaskId -IfMatch
If you want to know more detailed information, you can check out this link :
https://learn.microsoft.com/en-us/graph/api/plannertask-delete?view=graph-rest-1.0&tabs=http
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.