A big thank you for attending Olav and mine session during TechDays Sweden. As promised (though late), here is the script I demoed.
To get the overview, please read the full documentation of Office 365 groups on Microsoft. The script, however, could be downloaded here; AADpolicyandblacklist.
Stay tuned for more presentations and news.