I was wondering if there is a way to have planner run the "Export Plan to Excel" programmatically. I've searched and the recommended way seems to be MS Graph, which I have done, but it's kind of cumbersome since not every field is available in the standard Flow connectors. We had to use an Azure HTTP connector and the BETA endpoint to pull additional fields. If I recall Labels was one of them.
Using a developer tab, it looks like when you are in planner and run the export it uses https://tasks.office.com/Tenant.onmicrosoft.com/TasksApiV1/GetTasksForPlan?planId=xxx_xxxxxxxxxxxxxxxxxx for the download. I've tried looking for anything on the TasksApiV1 endpoint but I cannot find anything. I'm assuming it's not an open endpoint and perhaps strictly tied to Planner web. Curious if anyone knows a way to use this to generate this report, through Flow or even PowerShell would be great.