we have a very small project to remove old planner tasks. what we are having issue with when playing around with powershell graph sdk is the remove-mgplannertask command. firstly, the example in the official documentation seems to be wrong.
however, with our actual task ID and related etag, it comes up with a etag is tool old.
but when using graph explorer... using the sameetag value, it works fine. any help would be good. in the meantime, we wont use the powershell SDK and look at using the invoke-restmethod / invoke-webrequest to send a delete command.