Microsoft.Graph New-MgBetaPlannerRoster is not working getting error Bad request
$tenantID ="id of the tenant"
$ClientID = "id of the client"
$CertThumbprint = "thumbprint of the certificate"
Connect-MgGraph -ClientID $clientID -TenantID $tenantID -CertificateThumbprint $CertThumbprint
$body = @'
{
"title": "title"
}
'@
Invoke-MgGraphRequest -Method Post -Uri https://graph.microsoft.com/beta/planner/rosters -Body $body
I also used the following command:
$params= @{
"data.type" = "#microsoft.graph.plannerRoster"
}
New-MgBetaPlannerRoster -BodyParameter $params
and i still get the same error Bad request. It's shows no error message and unknownError
{"error":{"code":"UnknownError","message":"","innerError":{"date"......
I used the version 2.16.0 for graph but got the same error with the 2.10.0
The registered apllication in Entra has the permissions
Tasks.ReadWrite.All