Forum Discussion
KerryLambert
Mar 15, 2017Iron Contributor
Powershell attribute to distinguish where a group was provisioned?
We would like to determine where a group was provisioned, whether it was Planner, Teams, etc. Is there a PS attribute that can help with this?
SanthoshB1
Mar 16, 2017Bronze 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.
- cfiessingerMar 17, 2017
Microsoft
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 BarbosaSep 05, 2018Copper Contributor
Hi cfiessinger may I ask for updates in this topic? Thank you!
- Mukesh MuraliFeb 13, 2018Copper Contributor
Hi Christophe - Do you have any further update on this item ? Is ProvisioningOption a reliable value to do this check ? Actually we are trying to identify and differentiate the O365 groups based on their origin so this would be helpful. Cheers,
BR,
Mukesh
- cfiessingerFeb 13, 2018
Microsoft
Mukesh this item is still on our backlog and I don't have a timeline to share at this stage.
- Mohammed AhmedOct 13, 2017Copper Contributor
Is this situation still the same. Can we use Provisioningoption as a reliable source to know where the groups has come from ?
We have different values as below, i heard that the values "ExchangeProvisiongFlags:****" will be changed with proper text like Teams, Planner..... Is the value "YammerProvisioning" will remain as it is ?
ExchangeProvisioningFlags:2028 YammerProvisioning ExchangeProvisioningFlags:227 ExchangeProvisioningFlags:481 ExchangeProvisioningFlags:2020 - Sankarasubramanian ParameswaranNov 20, 2017Iron Contributor
i found that from one drive they have option to create group even they don't have access to team or yammer. how we can find the exchange provisioning for this
- KerryLambertMar 16, 2017Iron ContributorThank you!
- Mar 16, 2017Awesome Santosh!!