Depending upon your settings and circumstances, there's a chance that groups created in Microsoft Teams might play so well together.
Specifically, your team might not be available for email. As it turns out, the teams ARE available... they're just hidden.
and a little PowerShell is enough to coax them out.
Our ExampleIn our example, the site is called Application Redevelopment and you can see from the screenshot that it appears in teams but not in outlook.
The PowerShell Commands
Session SetupThe setup is as per usual;
Start PowerShell in Administrator Mode.
Press Y and Enter.
$UserCredential = Get-Credential
Enter your user name and password.
Create the session.
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
and activate it.
The relevant command.The command we need to use is Set-UnifiedGroup and the format we're using is as follows.
Set-UnifiedGroup -Identity "GROUPNAME" -HiddenFromAddressListsEnabled:$false
Where GROUPNAME is either the name of the group or the email address of the group.
In this example, it's;
Set-UnifiedGroup -Identity "Application Redevelopment" -HiddenFromAddressListsEnabled:$false
You can use the groups email address if it's easier.
Note that you can hide a Teams Group from email by ending in $true
Tidying UpAs usual, a tidy person will alway clean up their session.