Using the Microsoft Teams BETA Graph API calls? They may be about to break on you… 3 API calls going away soon
The beta API endpoint of Microsoft Graph is, by nature, home to some of the more cutting edge, newer and (I think) more interesting things that one can use Graph for.
That does come with some risks though: Microsoft say that any APIs in the /beta namespace are “subject to change. We don’t recommend that you use them in your production apps.”
That’s definitely true right now for anyone using the beta endpoint for working with Microsoft Teams. 3 of the API calls are about to be removed.
Which calls are being removed?
The following API calls are being removed:
- /teams/id/apps â use /teams/{id}/installedApps instead.
- /teams/id/channels/{id}/chatThreads â use /teams/{id}/channels/{id}/messages instead.
- /groups/id/channels â use /teams/{id}/channels instead. (the team ID is the same as the group ID)
It’s important to note that no functionality is actually being taken away – it’s just that the data is available elsewhere. Naming conventions and general tidying up seems to be reason for making these changes now, before they go into the v1.0 namespace and get effectively “locked”.
When will these calls stop working?
All 3 of these API calls will stop working in the last week of September. That starts today!
What should I do?
These changes will require code to change. It should be the case that just the URLs need to be slightly adjusted, the response body should stay the same. However, doing nothing is not an option because the old URLs will stop working soon and if your application relies on them then you will start seeing errors.