Forum Discussion
Customising the welcome email sent when a new member is added to a team
tdnewk I'm curious how you managed to send a customized welcome email outside Microsofts method? Is it possible to get the invite link from the email somehow?
Yes,
I would be happy to show you what we did and I can check if we can give you the code. In summary our use case:
We support collaboration between the B1G Universities and use our own 365 tenant for part of that with an exclusive focus on Teams. We have a homegrown “CRM and access manger” with an MS SQL backend that keeps track of which people need to be members on which team. All teams are private in the tenant and all external people come in as guests (with a few exceptions) so they all use their own 365 credentials to get in.
When we need to add a new person to a team, the process is:
- Adda record for them into our “CRM”
- Send them a custom email outside of the 365 environment that welcomes them and has a link to “ activate” their access to a team in our tenant.
- We developed a custom app to act as the “activation” which is an Azure app that simply has them login using their credentials. This step does require consent with some of our stakeholder 365 tenant admins as it shares name, and upn with us.
- If they successfully login, they are automatically added to the team since we now know their upn to put into the tenant. We have found that the email address we use for the invitation is not always the actual UPN.
- Another email goes out with a link to the tenant and other resources we provide (like an email list for the group – an external application) with a support email address.
If you would like a demo, I am sure that can be arranged and I can check on getting the code for you to review.
Why did we turn off the automatic invitations in the tenant and use our own? The Microsoft ones look really polished and such, but they referenced 365 GROUPS not TEAMS and that was seen as very confusing to our stakeholders. We do not use the rest of the tenant for the stakeholders (word, excel, outlook) because they are guests - plus we did want to add in our own custom text.
Best,
Tim
- alex_ha19Jun 03, 2024Brass Contributor
uhm I noticed that when I create an O365 group from Teams by creating a new Team, then the parameter -UnifiedGroupWelcomeMessageEnabled is $false initially.
BUT users still get a Teams Welcome Message if they are added via teams. The sender of the welcome message is a generic MS Teams
If people are added to the group by other means, e.g. Azure Portal, then they dont get a welcome message.
When the group is created from another workload for example when you create a new planner board. Then -UnifiedGroupWelcomeMessageEnabled is $true initially. And users which are added are getting the welcome message, but this time the sender of the welcome message is the group itself. And not the generic senderadress from Teams. - Felix_D3Apr 15, 2024Copper ContributorHi Tim and thank you for your reply and also the kind offer of giving a demo of your solution.
This is helpful information for me in our business. I might ask you for a demo in the future but we need to get some other work sorted out before adressing this issue.
Best regards, Felix