I went into the admin centre and found that no team was attached to the class on creation. This can simply be added once and owner has been assigned to the group using:
Set-MgGroupTeam -GroupId $x.Id