+ Post New Thread
Results 1 to 15 of 15
Cloud Services Thread, [OFFICE 365] - E-mail search and retrival in Technical; Hi all, My school has received an FOI requesting all e-mails about a certain individual. I'm just looking for the ...
  1. #1
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    669
    Thank Post
    84
    Thanked 95 Times in 76 Posts
    Blog Entries
    1
    Rep Power
    24

    [OFFICE 365] - E-mail search and retrival

    Hi all,

    My school has received an FOI requesting all e-mails about a certain individual.
    I'm just looking for the best way to do this.

    Please let me know if any of you have a good way to do this.

    Thanks.

  2. #2
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    669
    Thank Post
    84
    Thanked 95 Times in 76 Posts
    Blog Entries
    1
    Rep Power
    24
    Never mind,

    I've found the info myself.

    I used the command;

    Get-Mailbox -resultsize unlimited | Search-Mailbox -SearchQuery 'something OR other' -TargetMailbox "Destination Mailbox" -TargetFolder "Folder" -LogLevel Full

    this should copy all matching emails to the folder in a mailbox.

  3. Thanks to Marshall_IT from:

    bondbill2k2 (10th February 2014)

  4. #3
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,282
    Thank Post
    218
    Thanked 237 Times in 205 Posts
    Rep Power
    76
    Was keeping an eye on this thread, have you tested that script?

    Does it create a copy of the sent/received email in a subfolder of the target Mailbox? So if I created a folder under my Inbox called "email report" or similar, all matching emails end up in there? In a readable format?

  5. #4
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    669
    Thank Post
    84
    Thanked 95 Times in 76 Posts
    Blog Entries
    1
    Rep Power
    24
    I'm running it now, it should work on the manner you describe.

    Well post an update for you.

  6. #5

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,271
    Thank Post
    884
    Thanked 2,749 Times in 2,322 Posts
    Blog Entries
    11
    Rep Power
    785
    That sounds a tad dodgey, is there a need to release such information? At what point do we just post our mailbox DBs online?

  7. #6
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    669
    Thank Post
    84
    Thanked 95 Times in 76 Posts
    Blog Entries
    1
    Rep Power
    24
    That command worked, it created a folder (above inbox) called Search, and under that created a folder for each mailbox that contained a reference to that string. THen under that it had inbox, deleted items, recoverable items etc. with all the emails in the folders.

    Not the easiest way to see them all but it works.

    Untitled.png

  8. Thanks to Marshall_IT from:

    themightymrp (10th February 2014)

  9. #7


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,714
    Thank Post
    288
    Thanked 788 Times in 615 Posts
    Rep Power
    226
    Quote Originally Posted by SYNACK View Post
    That sounds a tad dodgey, is there a need to release such information? At what point do we just post our mailbox DBs online?
    If you hold information about a person, that person (or their agent) can request that you provide them with a copy of said information.

    Typically it's a Subject Access Request.

  10. Thanks to pete from:

    SYNACK (10th February 2014)

  11. #8

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,342
    Thank Post
    469
    Thanked 335 Times in 283 Posts
    Rep Power
    157
    Interesting thread.
    How would you do the same thing with Gmail if your school uses Google Apps for Education instead of Office365?

  12. #9
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,282
    Thank Post
    218
    Thanked 237 Times in 205 Posts
    Rep Power
    76
    This is VERY useful to know! Might give it a test myself actually

  13. #10

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,440
    Thank Post
    408
    Thanked 669 Times in 611 Posts
    Rep Power
    191
    Quote Originally Posted by Marshall_IT View Post
    That command worked, it created a folder (above inbox) called Search, and under that created a folder for each mailbox that contained a reference to that string. THen under that it had inbox, deleted items, recoverable items etc. with all the emails in the folders.

    Not the easiest way to see them all but it works.

    Untitled.png
    Has that copied it to your mailbox?

  14. #11
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    669
    Thank Post
    84
    Thanked 95 Times in 76 Posts
    Blog Entries
    1
    Rep Power
    24

    [OFFICE 365] - E-mail search and retrival

    To a folder within my admin mailbox.

    But you can create a discovery mailbox.

    You get to choose which mailbox they are copied to.
    Last edited by Marshall_IT; 10th February 2014 at 02:37 PM.

  15. #12
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    669
    Thank Post
    84
    Thanked 95 Times in 76 Posts
    Blog Entries
    1
    Rep Power
    24
    Just one more thing, you can create a discovery mailbox for this sort of issue with the following command if you don't want to use your own mailbox.

    New-Mailbox -Name SearchMail -Discovery

    and use the command

    Get-Mailbox -resultsize unlimited | Search-Mailbox -SearchQuery 'something OR other' -TargetMailbox "SearchMail" -TargetFolder "Folder" -LogLevel Full

    to copy all the items across.

    You can also use the exchange management console to create your search and then copy the items from there or download them as a pst.

    you goto Admin > Exchange > Compliance managent > in-place eDiscovery & Hold

    Then create a new search

    You then have options to copy or download from there.
    Attached Images Attached Images

  16. #13

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    10,181
    Thank Post
    1,922
    Thanked 2,413 Times in 1,767 Posts
    Rep Power
    840
    Quote Originally Posted by Marshall_IT View Post
    Hi all,

    My school has received an FOI requesting all e-mails about a certain individual.
    I'm just looking for the best way to do this.

    Please let me know if any of you have a good way to do this.

    Thanks.
    Whoa there @Marshall_IT!

    FoI is for many things, but not for requesting information about an individual! It is about ensuring that public money is being spent properly and that public services are being run correctly.

    Are you sure you are complying with Data Protection Law?!!!!

    EDIT

    You also only have to comply if you are at a maintained (state) school... including academies and free schools. Independent schools are not spending public money and therefore not subject to FoI.
    Last edited by elsiegee40; 10th February 2014 at 03:50 PM.

  17. #14
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    669
    Thank Post
    84
    Thanked 95 Times in 76 Posts
    Blog Entries
    1
    Rep Power
    24
    We are not an independent school unfortunately and the request is for information about themselves which i was under the impression, as so was the legal team at our LEA, that we had to provide this.

    Possible i am mistaken which would be good news.

  18. #15


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,714
    Thank Post
    288
    Thanked 788 Times in 615 Posts
    Rep Power
    226
    It doesn't fall under FOI, it falls under general data protection law. Look up "Subject Access Request" on ico.gov.uk.

    Subject Access Requests: How to Respond - ICO



SHARE:
+ Post New Thread

Similar Threads

  1. Office 365: dirsync error 611 and Invalid Namespace warning
    By sonofsanta in forum Cloud Services
    Replies: 21
    Last Post: 13th February 2014, 05:27 PM
  2. OFFICE 365 - Junk mail filtering rules
    By Marshall_IT in forum Cloud Services
    Replies: 10
    Last Post: 21st September 2013, 12:15 PM
  3. Office 365 Email Back Up and Recovery Options
    By funkyfin2000 in forum Cloud Services
    Replies: 4
    Last Post: 5th June 2013, 11:34 AM
  4. Office 365 Push Mail Stopped Working
    By Michael in forum Cloud Services
    Replies: 1
    Last Post: 8th May 2013, 10:51 AM
  5. Office 365 - @students sub domain and SSO Question
    By Fruity in forum Cloud Services
    Replies: 2
    Last Post: 9th August 2012, 04:45 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •