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.
cfiessinger
Microsoft
Mar 17, 2017Today 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.- Frank BastoneNov 06, 2018Copper ContributorHi Christophe, can you please be a little more specific on the timeline. This has become critical for us as it is affecting our overall governance practices and delaying further deployments across other Office 365 apps/services as a result. If we cannot determine how these groups are provisioned (ie. from which app/service), we will be required to lock these down, which will severely impact adoption. Please advise ASAP. Thank you.
- 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
- cfiessingerOct 14, 2017
Microsoft
this item is still on our backlog.