Oct 04 2016 04:09 PM
Can someone please let me know if the content gets deleted when a user who is a group owner leaves the company or his O365 license gets unaissigned? Will the data be deleted? Or will it stay forever? Thank you in advance!!
Oct 04 2016 08:53 PM
Oct 04 2016 11:11 PM
Oct 05 2016 04:54 AM
Oct 05 2016 06:09 AM - edited Feb 04 2017 03:59 PM
There is no way to recover SharePoint data once the group has been deleted. If you want to recover files for groups without owners you will need to add a user as an owner of the group to access/move/copy the files.
Here is a script from the Office 365 for IT Pro book to find out which groups do not have owners:
# Find out which groups do not have owners $groups = Get-UnifiedGroup ForEach ($G in $Groups) { If ($G.ManagedBy -Ne $Null) { $GoodGroups = $GoodGroups + 1 } Else { Write-Host "Warning! The" $G.DisplayName "has no owners" $BadGroups = $BadGroups + 1 } }Write-Host $GoodGroups "groups are OK but" $BadGroups "groups lack owners"
Oct 05 2016 07:07 AM
Oct 05 2016 07:48 AM
Thank you all for your responses. This is very helpful!
Oct 05 2016 08:30 AM
Nice I will try to get it out there. I have been tracking all of my O365 Groups scripts on GitHub currently.
Oct 05 2016 08:56 AM
Oct 05 2016 03:21 PM - edited Oct 05 2016 03:24 PM
Funny... this script looks very similar (if not identical) to the script described in Chapter 9 of "Office 365 for IT Pros", where it was originally published in late May 2016. I think I posted the code to the old Yammer-based Office 365 network too in response to a script written by Eric Zenz of Microsoft, which took a different approach to solving the problem. All of this happened around the time that Dale and I were chatting about his session to the SPTechCon in Boston in June. That session is available online at http://www.slideshare.net/dmadelung/office365-groups-from-the-ground-up-sptechcon-boston (29 June). It is a nice deck that others might be interested in seeing. I've no great objection to people sharing scripts, but I do think that the original work should be acknowledged.
Oct 06 2016 01:02 AM
Oh excellent. Thanks for linking that slidedeck Tony. I haven't got to Chapter 9 of "Office 365 for IT Pros" yet. Keep meaning to pick it up again but stuff keeps getting in the way.
I don't know how you all do it. Doing your day to day what seems like neverending projects and work whilst finding time to write meaningful articles and keep up to date with all the latest and greatest information and also upskilling.
Regards,
Antony
Oct 06 2016 02:55 AM
Be sure that you get the latest update (it's available now on the site dated 5 October) because Chapter 9 received a work-over after Ignite. It is now 72 pages of (mostly) goodness about all aspects of Office 365 Groups.
Keeping up is relatively simple. Spend some time every day to track what's happening and then write it down. Then think about it. Iterate...
Oct 06 2016 07:22 AM
I absolutely got that super helpful script from the old Yammer network and I fully apologize for not giving credit where it was due. I have not gone through the O365 for IT Pros book but I did actually include a link and info to it in my latest presentation about O365 groups.
Oct 06 2016 11:47 AM
No worries. To be safe and to make sure that you are never accused of plagiarism, it's always a good idea to acknowledge the source of information. That way you are always clear!
Oct 06 2016 01:03 PM
It will be interesting to see how this is approached when Yammer + Office 365 groups work together.
The equivalent user experience in Yammer can allow a user to self-nominate themselves as admin if it becomes orphaned. That approach may work well for social-style Office 365 groups, but may not be so appropriate to others. However it keeps the administrative effort required to a minimum.
Another consideration for scripts to detect "orphaned" groups is that sometimes an account is disabled but not immediately removed. It's reasonably common practice for the account to be kept around for a short period of time before being removed from the tenant.
Oct 06 2016 01:58 PM
We can solve issues for Office 365 Groups because it supports PowerShell... Now Yammer... that's a completely different matter!
Feb 04 2017 05:14 AM
Feb 04 2017 08:25 AM
I wish I could be as hopeful about the arrival of soft-delete. We have been asking for it since November 2014. It has been promised many times, most recently "by the end of 2016" as per Microsoft sessions at Ignite, and here we are in February 2017.
Soft-delete will come, it's just coming a lot longer than I thought it would ever take...
Feb 05 2017 10:11 AM - edited Feb 05 2017 11:01 AM
Feb 05 2017 10:30 AM
Yes, apart from the fact that the conversations are held in Yammer rather than in the Exchange group mailbox. This is actually an important point, because it means that conversations are then "hidden" from the point of compliance searches. Content searches are able to look through group mailboxes and document libraries, but they do not support Yammer. This is one good reason why any company working in a regulated industry will have a problem with Yammer Groups, even if they use Office 365 Groups to manage their membership.
There are some other differences too, but storage of conversations is the big one.