PlannerModule icon indicating copy to clipboard operation
PlannerModule copied to clipboard

Add-PlannerTaskDescription - Bad Request

Open MOKknudsen opened this issue 5 years ago • 0 comments

I'm getting this VERY often. always fails with Add-PlannerTaskDescription Hints ? I have tried to do a try / catch, but the script continues to BREAK

Add-PlannerTaskDescription : Request to https://graph.microsoft.com/beta/planner/tasks/aSyzGFG5T0-n7EfHHQsHm5YAKix6/Details failed with HTTP Status BadRequest Bad Request At \DAT2-S-AS-01\SCRIPTS\FUNCTIONS\ITAUTOMATIONFunctionsV1.psm1:1499 char:19

  • ... try { Add-PlannerTaskDescription -TaskID $global:PlannerPlanTas ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Add-PlannerTaskDescription

MOKknudsen avatar Apr 23 '20 20:04 MOKknudsen