When creating a Planner Task using the Graph API authenticated using an Azure App, the task can not be opened on IOS or Android Teams

Benjamin Morse 0 Reputation points
2023-05-19T15:47:09.7266667+00:00

When creating a Planner Task using the Graph API authenticated with an Azure App and not a user, if the Planner is added to a Teams Channel as a Tab, the task can not be opened in the Teams app on IOS or Android.

  1. Use an Azure App to authenticate to Graph
  2. Get the “planId” and “bucketId” an existing Planner linked to a channel in a
  3. Create a new Task using those IDs
POST to https://graph.microsoft.com/v1.0/planner/tasks
{
   "planId":"[PLANID]",
   "title":"[TITLE GOES HERE]",
   "bucketId":"[BUCKETID]" 
}
  1. In the mobile Teams app on iOS or Android, open the > Channel > More and click on the Planner tab in the channel.
  2. Open the Task created in #2
  3. You get an error message "Sorry. We have run into an error Please close and reload the Teams App."

The task opens fine in the actual Planner app on Android, it also opens fine in the Teams desktop app for Windows or the web version of Teams.

Microsoft Security Microsoft Graph
Microsoft Teams Microsoft Teams for business Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ab-8756 805 Reputation points
    2023-05-19T18:28:22.9233333+00:00

    Hello Benjamin Morse,
    Thank you for reaching out.

    Regarding to your planner task issue, it seems like device problem, Not related with Graph API.
    Could you please add planner task manually and see if that shows on your iOS and Android teams app.

    After adding planner task manually, if the still see that teams app on your mobile device not able to open the planner task, please remove all O365 apps on device, then reinstall them.
    Additionally, I would also suggest checking if there are any firewall issues blocking the tasks updates on the mobile device. Although, It might not be the case.

    Hope that helps.
    Thanks.
    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.