Forum Discussion
MS Teams Channel email validation
I am integrating an option on my app to send updates to teams channel via email. I created a channel and got the email address like this: xxxxx.company.onmicrosoft.com@emea.teams.ms
So I was just thinking if I have to add a validation regex to this email is it fine if I use something like:
/^([\w\.]+)@emea.teams.ms$/
or this domain/subdomain (emea.teams.ms) can change in some instances?
It depends on the region where the tenant is created, so for US tenants it will be us.teams.ms, etc.
2 Replies
- ritika251993Copper Contributor
VasilMichevDo you know if there is any change in the DMARC record for emea.teams.ms as the emails coming from this domain are failed and marked as Spoof DMARC.
DMARC record is currently setup under "emea.teams.ms" instead of "_dmarc.emea.teams.ms".This subdomain doesn't have an explicit policy defined. However, the parent domain defined this policy.
The organizational domain of this sub-domain is: teams.ms
Receivers will apply https://dmarcian.com/dmarc-inspector/?domain=teams.ms to emea.teams.ms's email (because emea.teams.ms does not have its own explicit policy).
A policy of "reject" would be applied to unauthorized emea.teams.ms email.
 It depends on the region where the tenant is created, so for US tenants it will be us.teams.ms, etc.