Yesterday after an update and a reboot my Teams app was set to offline and no matter what I tried to do it was stuck. Not at all frustrating as I use Teams every day.
My other office apps were working ok, and my status showed as online in the web version of teams.
I couldn’t work out why it wasn’t playing ball so a quick google led me to a few community articles about setting the status as a command rather than from the UI.
Even though I was offline already the only way I could get my status to show up as available was to set my status to dnd on the desktop app using the command /dnd and then back to available with /available, I then had to force it by hitting the webapp version of teams and suddenly my desktop app showed up as being available!
No idea why it happened in the first place, but this work around seems to have resolved the issue. Hopefully this won’t happen again, but if it does at least I have a work around.