Tag not monitored by Microsoft.
Hello @Pascal Kesseli Thank you for reaching out. There are two ways you might get around this:
- PowerShell ForEach-Object Parallel Feature to parallelize the tasks:
#get all $subscriptions = Get-MgSubscription $subscriptions | ForEach-Object -Parallel -ThrottleLimit $subscriptions.Count { try{Remove-MgSubscription -id $_.id } } - Combing multiple http requests using JSON Batching and Invoke-MgGraphRequest
Let me know whether this helps and if you have further questions,
Diana.