Sep 02 2022 06:11 PM
Looking for insight into why this error is occurring or pointers to where I can find a resolution as I've followed the specifications and tried a variety of ways given anomalies noticed in the documentation (Ex: "@odata.type": "microsoft.graph.plannerPlanContainer" at https://docs.microsoft.com/en-us/graph/api/resources/plannerplan?view=graph-rest-1.0 but "@odata.type": "#microsoft.graph.plannerPlanContainer" at https://docs.microsoft.com/en-us/graph/api/resources/plannerplancontainer?view=graph-rest-1.0).
I also visited the link in the response headers as well as a shortened version of it (https://developer.microsoft-tst.com/en-us/graph/changes) - both dead. Guessing the deprecated reference would be to plannerPlan's owner property (https://docs.microsoft.com/en-us/graph/api/resources/plannerplan?view=graph-rest-1.0)?
Request (using Power Automate's Send an HTTP Request\Office 365 Groups) -
URI
https://graph.microsoft.com/v1.0/planner/plans
Method
POST
Body
{
"owner": "{myGroupId}",
"title": "Plannamehere",
"container": {
"@odata.type": "microsoft.graph.plannerPlanContainer",
"containerId": "{myGroupId}",
"type": "group",
"url": "https://graph.microsoft.com/v1.0/groups/{myGroupId}"
}
}
Response -
Headers