Forum Discussion
- SanthoshB1Bronze Contributor
You can use the below scripts to find the Groups that were provisioned by Yammer and Teams.
Yammer integrated Office 365 Group List
Get-UnifiedGroup |Where-Object {$_.ProvisioningOption -eq 'YammerProvisioning'} |select DisplayName,Alias,ProvisioningOption,GroupSKU,SharePointSiteUrl,SharePointDocumentsUrl,AccessType
Teams group List
Get-UnifiedGroup |Where-Object {$_.ProvisioningOption -eq 'ExchangeProvisioningFlags:481'}|select DisplayName,Alias,ProvisioningOption,GroupSKU,SharePointSiteUrl,SharePointDocumentsUrl,AccessType
Similarly we expect MSFT to work on for Planner.
- Awesome Santosh!!
- KerryLambertIron ContributorThank you!
- cfiessingerMicrosoft
Today there is not determistic way of knowing where the group is created from via PowerShell. This is something we have on our backlog and don't have a date we can share.
Using ExchangeProvisioningOption is NOT recommended since not all apps leverage it plus you can create a Teams against an existing Group for instance and this is not reflected in the script below.
Best you can do today is leverage the audit logs instead.
- Sara Jardim BarbosaCopper Contributor
Hi cfiessinger may I ask for updates in this topic? Thank you!
- cfiessingerMicrosoft
There is no such attribute today. Stepping back what are you trying to achieve with this information, what's the use case please?
- KerryLambertIron Contributor
Mainly for reporting and auditing and honestly just curiosity. We enabled Planner soon after our migration to O365 so I'm sure the majority of our Groups were created there. Group creation through Outlook/OWA is limited by policy (soon to be enabled for everyone) and now Teams is enabled for everyone. We want to get a handle on what services everyone is using.
Group expiry will definitely help so we are looking forward to that!
- Interesting requirement...curious to know if this kind of information is being registered Today behind the scenes
- Christian_CarrascoCopper Contributor
Hello cfiessinger, do you have any update on this? Is it possible to distinguish the app where an Office 365 group was created? (Sharepoint, Teams, Yammer, Planner, other).
As some of our colleagues pointed out, it is becoming crucial to have this kind of information to deploy a good Governance and a robust Operation Model around O365 tools.
Thank you.