Ownership on Office 365 for groups
connect to power shell - Office 365
Download the Following.
Run Microsoft Online Services Module for Windows PowerShell as Administrator
Connect-MsolService$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic –AllowRedirectionSet-ExecutionPolicy UnrestrictedImport-PSSession $SessionSet-DistributionGroup -Identity \'groupname\' -BypassSecurityGroupManagerCheck -ManagedBy \'TheManager\'