Microsoft Teams sync to on-premise AD

Copper Contributor

Hi all,

 

So here's the situation.

 

When you create a Team a whole load of other resources are also create such as SharePoint, mailbox and a group object that's used to handle emails. The group object is actually a Unified Group so somewhat different to your standard email enabled groups. Now because we are in hybrid we have mailbox both in cloud and on-premise. What we need to do is ensure that when a Teams email goes out that all those recipients are able to respond to the email including external recipients. To make this happen we need to sync the Unified Teams group to on-premise AD which we thought we could do by way of Azure AD Connect. Well sure enough having configured group write back we get a group object written to our AD but unlike the sync of mail enabled objects the primary email address does not allow from delivery to the tenant so you end up getting NDR's. What we need is the Group written to AD having the likes of a target address which resolves to the O365 tenant address onmicrosoft.com but that not an attribute option for the group object write-back creates.  So, how do we get the Teams unified groups sync'd to on-premise so that we can route emails to the Team unified group.

0 Replies