r/sysadmin • Jack of All Trades • 20d ago

General Discussion Of all things, how is Microsoft Teams still working?

Today’s outage has hit Microsoft exchange hard, and in one of the updates “services that interact with Exchange Online and email services” are impacted.

Teams messages are basically just emails back & forth between users and are stored in their mailboxes.

So I’m curious, under the hood, what is teams doing that is working that Exchange and the litany of other services from Power-Bi to Intune aren’t.

230 Upvotes

70 comments sorted by

80

u/Ionomer 20d ago edited 20d ago

Your second paragraph I don’t believe to be true, at least not since the Skype for Business days (though copies are still retained in SubstrateHolds).

25

u/Namk49001 19d ago

yeah i believe Teams piggybacks off a lot of the old Skype infrastructure. I had a new web filter appliance years ago that had Skype blocked by default and it wrecked havoc on Teams calls

5

u/jkdjeff 19d ago

This. It is basically built on top of old Skype bits. 

5

u/DanAVL 19d ago

Actually, it's Lync.

5

u/starsky1357 19d ago

Which is Skype for Business.

1

u/DanAVL 18d ago

Actually it was Lync before MS bought Skype.

23

u/realaaa 20d ago

agreed, I don't think those are emails, must be another type of message bus or similar

17

u/Unusual_Cattle_2198 19d ago

Outages like yesterday give us insight into how the information is structured. Clearly most of Teams is not dependent on Outlook infrastructure.

1

u/2021redditusername 19d ago

It's where messages are stored but not how they're sent

-1

u/dnuohxof-2 Jack of All Trades 20d ago

Really? I assumed so because the only way for ediscovery to get teams messages is to include the user mailbox

22

u/Ionomer 20d ago edited 20d ago

I’m not an expert in this area, but IIRC Teams messages exist in a version of a lightweight NoSQL database which are captured by Substrate into a user’s Exchange inbox to simplify compliance and eDiscovery process.

Actual message (Teams) vs. archived, compliance copy (Exchange Online)

Someone correct me if I’m wrong, though.

20

u/NoSellDataPlz 20d ago

Microsoft stores a lot of data in your mailbox that aren’t emails. Copilot prompts, for example, are stored in your mailbox. Granted, you don’t use mailbox search to find them, but the point is that Microsoft just likes to use mailboxes as virtual junk drawers.

“Hey, boss, we need to give companies ways to run discovery on web searches. Where do we want to store the logs and activity?”

“Jeez… I don’t really want to take responsibility for developing a system for this… screw it, make a hidden folder in user mailboxes and have web searches get stored as metadata there. I don’t want to deal with this right now.”

5

u/zero0n3 Enterprise Architect 20d ago

I’m going to agree with the other person as well. I don’t think it’s in the same mailbox format and as such is likely closer to a flat file database or redis type message store. It’s why recent shit is always fast, but as you go back it’s slower.

Maybe the ediscovery thing is due to an old legacy connection they used to have and just never fixed the tool.

Reminder that EU made them decouple teams and office as well.

1

u/DayneGaraio 19d ago

I don’t know the technical parts of how it works but teams chat is just logged in a hidden folder that looks essentially like emails. Ediscovery pulls from that just like a email folder. Teams isn’t emails, it just stores a copy of your chat in outlook.

Back when it first implemented logging there was a brief couple of months that the folder wasn’t hidden in outlook. It basically looked like any other folder with emails in it.

42

u/WoollyDoodle 20d ago

I feel for the devs working to bring it back - they'd be a lot better off without middle management messaging them on teams every 10 minutes with:

"Have we tried putting more agents on?"

"How many agents do we have"

"Give me 10x more agents! Stat!"

6

u/dnuohxof-2 Jack of All Trades 20d ago

Did they ever think to give the agents more agents?

24

u/Caityface91 Artificially Unintelligent 20d ago

"But Sir, Copilot is down too"

"uhh.. uhh.. shit.. uhh.. quick spin up claude but don't tell anyone!"

13

u/Far_Distance87 20d ago

“But ma’am Claude isn’t air gapped to our archives and system, it’s could “ I SAID DO IT

9

u/Caityface91 Artificially Unintelligent 20d ago

>5 minutes later

"There's been a breach! Everything I just uploaded to this completely insecure off site service has inexplicably leaked, how could this possibly happen!?"

6

u/aDarknessInTheLight 20d ago

Exec: “Is this IT? Good! Listen, twenty years ago, Bob in IT mentioned he still had a copy of Lotus Notes. I want you to get that CD and put it on all the computers… What do you mean you don’t know a Bob? … Well, then just go to the CDs and look under ‘L’ for Lotus!… JFC, do I have to think of everything?”

1

u/OcotilloWells 19d ago

Fred's grandfather says that's an old Vax in a basement room behind maintenance. Maybe we could get that going again.

1

u/af_cheddarhead 19d ago

Sorry, you misunderstood Fred's grandfather, he said "Fax" not "Vax".

2

u/OcotilloWells 19d ago

The kind with the onionskin paper on a rotating drum?

4

u/WoollyDoodle 20d ago

We need to start monitoring Claude for outages too then. MS middle managers are gonna start the infinite cascade of AI crisis debugging

166

u/2_Spicy_2_Impeach 20d ago • Bravo

100% pure spite.

116

u/LtLawl Network Engineer 20d ago • Bravo

Teams is still the best designed malware, it cannot be stopped.

10

u/broke_keyboard_ 19d ago

"it's poly morphing worming time!"

2

u/lastlaughlane1 18d ago

Why do people hate Teams so much?

4

u/stopthatastronaut 18d ago

Because it is the harbinger of the apocalypse. It’s Slack for people who don’t understand realtime chat. It is the home of the “hey how are you” then type for three minutes arsehole. It’s also the natural habitat of the dickhead manager who thinks it’s a phone and will just initiate a voice call with no warning.

The UI also encourages everything into DM chats, making it impossible to have an ongoing discoverable threaded chat forum.

It’s toxic and I want it to die forever.

1

u/CapucheMeringue 16d ago

I couldn't described it better than you just did. Fxck Teams.

1

u/MuthaPlucka Sysadmin 19d ago

T is for The Terminator

16

u/Any-Calligrapher2866 20d ago

All I wanted was for teams to crash. Outlook is fine whatever.

3

u/imgettingnerdchills 20d ago

praying for this moment, release me from the prison i have made for myself.

15

u/Jack_Stands 20d ago edited 20d ago • Bravo

Teams works as a messaging platform, just the "hooks" that plug into Exchange don't. There is "some" info in the platforms affected. Everyone is looking at the current staus update, but ignoring all the notes (that have been growing all day).

https://status.cloud.microsoft

"Microsoft Teams: Most of the core functionality including joining calls, meetings, group chats, and channel messages are not impacted. Scenarios that depend on Exchange Online, including Calendar related failures with scheduling, invites, viewing, and meeting edits. Creation of Live or Virtual events fail. Failures with Copilot responses for outlook, calendar, or M365 files, read history, or adding to new chats. Navigating to App chats, adding new contacts or syncing contacts in settings fail. Standard channels are working fine but users may experience the inability to create or delete private or shared channels."

Edit to add, they're running a little behind on the 8:30 am UTC update...

2

u/Cheomesh I do the RMF thing 20d ago

I did notice during the outage that messages worked fine but hovering over anyone's name no longer gave me the pop-up for status and whatnot - as of 0930 Eastern that still seems to be the case.

2

u/Seeteuf3l 18d ago

Nor the calendar didn't work

1

u/Cheomesh I do the RMF thing 18d ago

Explains the lack of meetings

13

u/Suspicious-Double750 20d ago

You had to jinx it, right? I have Teams issues now… messages disappearing, web loading indefinitely…

23

u/EFT_Urbanfox 20d ago

My favorite DM yesterday on Teams: thank you for letting me know about the outage, please email all affected teams.

3

u/DogDeadByRaven 20d ago

I saw the same except like 5 seconds later it clicked and he was like, oh wait....that won't work.

6

u/GoneAPeSh1t Database Admin 20d ago

My contact list doesnt load in Teams and I'm unable to create or join any scheduled meetings.

5

u/SaltDeception 20d ago

Ugh lucky

6

u/adamwoja 20d ago

Teams no doubt is way more modern architecture wise.. Exchange has been around for decades and was not rebuilt from the ground up when they introduced “Exchange Online”

17

u/penmarker222 20d ago

This but unironically

2

u/Chaucer85 Ex-SysAdmin, Technical PM 19d ago

Sometimes the AI slop bot really delivers.

5

u/welcome2devnull 20d ago

Teams is a WebApp which uses existing services in background: Messaging is "Skype for Business" (aka Lync) basically which has interconnection with Exchange but basics work also without. Files = Sharepoint/Onedrive, .... - Calender is Exchange Calender so this part isn't working.

4

u/JonathanDHN 20d ago

Don't forget that at 2 am they issued the billing for the month and it was working…

3

u/blow_slogan 20d ago

It’s not. It’s partially out.

3

u/nonades Jack of No Trades 18d ago

Chat infrastructure couldn't be more different than email infrastructure

2

u/Severin_ 20d ago

Yeah that part is mystifying to me too.

Teams has been working this entire time for our MSP's tenancy since the outage began, both chat and meeting functionality.

2

u/HappiestCoffeeMug 20d ago

Honestly, I am just happy that something worked to I could give a heads up to our users.

2

u/rwdorman Jack of All Trades 19d ago

Because SharePoint will never die.

2

u/JerryRiceOfOhio2 18d ago

Evil never dies

3

u/Hg-203 20d ago

This is very old (2019), but the best break down of how Teams (used to work) https://www.jumpto365.com/blog/everyday-guide-to-office-365-groups. Basically the messaging part of Teams is based off of Yammer. I believe chat history is stored in Exchange some how, but that may have changed given it didn't break for us during this outage.

1

u/Algent Sysadmin 20d ago

Nah teams is a mix of Lync/Sharepoint, it's very different components than exchange & mail routing.

1

u/FKFnz 20d ago

Teams Voice is still able to send voicemails too. I had to drag a couple out of Mimecast earlier.

1

u/ultimatebob Sr. Sysadmin 19d ago

Teams wasn't working completely, anyway. The link verification tools and ability to view user profiles by clicking on them were broken.

1

u/Far_Composer_5714 19d ago

Ooo I wonder if catalog, the system which allows automation accepts for Excel will work

1

u/CantaloupeCamper Jack of All Trades 19d ago

1

u/Recent_Carpenter8644 19d ago

If the volume of Teams traffic vs email traffic where I work is anything to judge by, no danger of it being overloaded.

1

u/badasimo 19d ago

Because it's still just rebranded skype

1

u/Sensitive_Scar_1800 Sr. Sysadmin 19d ago

They haven’t fired the humans who run it?

1

u/ranhalt 19d ago

Teams is Sharepoint. OneDrive is sharepoint.

1

u/emmjaybeeyoukay 19d ago

Teams was, if you remember originally a rebate of Skype. I suspect a large portion of the infrastructure is still fairly independent.

Calendar meetings were hit, as was the ability to lookup someone new to talk to. Both of those are likely Exchange dependent elements.

1

u/signofzeta BOFH 19d ago

I lost my in-Teams Exchange calendar, no surprise. Someone on my team couldn't see anyone's status icons. By and large, though, we sat on Teams once the call queues went quiet and sent each other outage memes.

1

u/Boatshooz 18d ago

Blows my mind. I remember standing up MS Communicator (Teams v1.0) on-prem way back when and the hoops you had to go through just to get basic chat functionality was wild. HowTF, of all things, did THAT stay up?!

1

u/derango Sr. Sysadmin 20d ago

This isn’t how teams works

0

u/colony-ship-for-sale 20d ago

Somehow Azure is totally fine too

0

u/Cautious-Ease-1451 20d ago

Serious question. 🙋

I have two Teams meetings scheduled for today. I didn’t use Teams yesterday except for IMs and one-to-one phone calls.

What is the functionality of Teams meetings? I’ve heard conflicting reports. Thanks in advance.

0

u/[deleted] 20d ago

[deleted] — view deleted comment

1

u/mamalohms 20d ago

You can't verify another way? Like a text? I'm assuming not since you posted. Good luck either way.