So I had a need to find all the office 365 unified groups in an office 365 tenant, see if they are active and if they are a team.
So I wrote this.
https://drive.google.com/open?id=1rIq3GbNWWdMSr9fSdgiM7lqeZ3eKGH6J
It uses Office 365 graph and I assumes you have already setup office graph access. If you have not, check out this link to set things up.
https://blogs.technet.microsoft.com/dawiese/2017/04/15/get-office365-usage-reports-from-the-microsoft-graph-using-windows-powershell/
Let me know what you think!
UPDATE:
YouTube demo can be found here: https://youtu.be/zjN9_WxbXDA