I am unable to grant graph.microsoft.com API permission to the schedule node within teams when trying to access the data from Power BI. I get the message:
Expression.Error: Access to the resource is forbidden
The following work:
OData.Feed("https://graph.microsoft.com/v1.0/teams/{tenant}", [ Authorization = "Bearer " & access_token ], [ ODataVersion = 4, Implementation = "2.0" ])
OData.Feed("https://graph.microsoft.com/v1.0/teams/{tenant}/members", [ Authorization = "Bearer " & access_token ], [ ODataVersion = 4, Implementation = "2.0" ])
but this does NOT work:
OData.Feed("https://graph.microsoft.com/v1.0/teams/{tenant}/schedule", [ Authorization = "Bearer " & access_token ], [ ODataVersion = 4, Implementation = "2.0" ])
The API has both Delegated and Application "Schedule.Read.All" rights along with all the Teams read rights.
Any suggestions of what I have missed?