The following script will list all owners of an Office 365 Group. The same script could be used to get the owners of an Office 365 Teams team. The script connects to Exchange Online, so proper permissions are necessary.

Advertisements