Jump to content

Recommended Posts

Posted (edited)

Progressing through all things 'Microsoft Teams' and testing away...

 

Anyway, just some quirks that I have spotted so far, that I'm hoping others can advise on (or may help others!).

 

Creating a Team

This creates an Office365 Group and associated SharePoint Site.

If created within Teams Admin Portal, you don't get option of choice of Team type and an associated Office365 Group is created (using our default schooldomain[dot]com)

Whereas, if created within Teams itself, you do get an option for Team type (e.g. Class, PLC, Staff, Other etc) and an associated Office365 Group is created (this time, using schoolname.onmicrosoft[dot]com)

 

Not sure why this is?

 

Deleting a Team

Deletion of a Team can be done within the Team Admin Portal or Teams itself.

Upon deletion, it is successfully removed (I haven't tried to restore a deleted Team yet, but this article describes how to)

The associated Office365 Group is deleted (virtually instantly). However, I note that the associated SharePoint Site is not. I thought that perhaps this takes time (especially how overloaded Microsoft services are at present) but even leaving and checking a day later they are still there.

 

Of course, I can manually delete them, but I thought by design it too they should be automatically deleted?

 

Thankfully, through my limited (but improving skills!) I have used a combination of:

Remove-SPODeletedSite -Identity https://{schooldomain}.sharepoint.com/teams/{name} to permanently remove deleted SharePoint Sites. and

Remove-AzureADMSDeletedDirectoryObject -Id {identity} to permanently remove deleted Office365 Groups

to allow me to keep retesting (same name) Teams etc.

 

Thanks.

Edited by MYK-IT
Posted (edited)

Hi,

 

Can someone please assist, as been spending hours on this and getting nowhere!

 

Basically, I think I have found the issue in relation to the Team group email domains differing, depending on where the TEAM was created and is (i think) related to our Default Email Address Policy

 

Name : Default Policy

Priority : Lowest

EnabledPrimarySMTPAddressTemplate : @schoolname.onmicrosoft.com

EnabledEmailAddressTemplates : {SMTP:@schoolname.onmicrosoft.com}

RecipientFilterType : Precanned

RecipientContainer :

RecipientFilter : Alias -ne $null

IncludedRecipients : AllRecipients

 

I have tried a new command, which is meant to change the domain of Office365 Groups

 

New-EmailAddressPolicy -Name Groups -IncludeUnifiedGroupRecipients -EnabledEmailSMTPAddressTemplates "SMTP:@schoolname.com" -Priority 1

 

which creates:

 

Name : Groups

Priority : 1

EnabledPrimarySMTPAddressTemplate : @schoolname.com

EnabledEmailAddressTemplates : {SMTP:@schoolname.com}

RecipientFilterType : Custom

RecipientContainer :

RecipientFilter : RecipientTypeDetails -eq 'GroupMailbox'

 

 

However, when I create a TEAM via the Team WebGui, it still creates an Office365 Group using the schoolname.onmicrosoft.com domain.

 

Now, I now I could just create all my TEAMS and change all the SMTP emails afterwards, it makes sense getting it correct from the start.

 

So, either I would like to change our 'Default Policy' (says I am not authorised?) or create a new one, with same filters (with priority 1) so it applies first. But I have been failing miserably to find the correct PowerShell script to do so - despite numerous online articles. I just don't know what variables to use to specify as follows:

 

RecipientFilterType : Precanned

RecipientContainer :

RecipientFilter : Alias -ne $null

IncludedRecipients : AllRecipients

 

Any help, greatly appreciated.

Edited by MYK-IT
Posted

Just to add to the (baffling) confusion, If I run Get-UnifiedGroup it does not list any Office365 Groups that are associated with any Teams created within Teams itself. (so cannot even change the SMTP email address, not even via GUI).

 

Office365 Groups associated with Teams created via Teams Admin Centre are listed.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...