AS
tsms365-outlook-teams-api-bug.ts·81ef4da·9 lines · 704 bytesraw on linkedin →
Engineering2024·65

When Microsoft 365 told me to call the same API twice

A debugging story: an Outlook calendar event update wouldn't add a Teams meeting link until the same API call was made multiple times.

While fixing a Teams meeting feature on the Microsoft 365 Outlook calendar API, I ran into a problem where event updates weren't adding Teams meeting links — even though creates worked fine.

After a lot of poking around: "Sometimes you need to call the same api call multiple times."

The first attempt via Postman would return the expected Teams link. Subsequent attempts from code would mysteriously fail. A senior colleague helped investigate, and we found that consecutive API calls would toggle the behavior — sometimes returning the link, sometimes not.

We concluded this was a bug in Microsoft 365.

Lesson: when something is not making sense, do what you think is obvious. Then do it again.

#microsoft#microsoft365#bugs