Extend email Search on Sharepoint 2013

Dear Experts,

How can I extend to search email items from SharePoint 2013 please advice

We have Exchange 2013 and SharePoint 2013

Thanks
tabreedAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jamie McAllister MVPSharePoint ConsultantCommented:
Team mailboxes allow you to have content in SharePoint as well as Exchange and therefore it is search crawled.

https://support.office.com/en-in/article/Overview-Use-a-site-mailbox-to-collaborate-with-your-team-45fb1ef2-19f5-4bf5-b6e2-8f3f77c09221

Aside from that you need to get the content into SharePoint in another way such as using Harmon.ie or Colligo to drag those mails into a library. (There's also mail enabled libraries, but bleh).
tabreedAuthor Commented:
Thanks Jamie,

i need to enable users to search their email mailbox items from SharePoint search. Please advice
Jamie McAllister MVPSharePoint ConsultantCommented:
There's a thread here, and I know Matt McDermott knows his stuff;

http://sharepoint.stackexchange.com/questions/114060/search-in-private-exchange-2013-mailbox-with-sharepoint-2013-search-center

Custom code using the Exchange Web Services is the only suggested approach. I don't have a code sample for this.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

tabreedAuthor Commented:
Hi Jamie,
 It is very impartment & urgent for me to implement to allow users to search their email messages from SharePoint 2013

 i really appreciate your help and support

 Thanks
Jamie McAllister MVPSharePoint ConsultantCommented:
As you'll see from the thread I posted, it's not really what SharePoint does.

The only free component I can see is this;

https://exchangewp.codeplex.com/

It's a form of integration but not really search.
Jamie McAllister MVPSharePoint ConsultantCommented:
This is the other thing I have;

https://technet.microsoft.com/en-us/library/jj591608.aspx

You can configure to search crawl shared mailboxes using the Exchange connector, but not personal mailboxes.
tabreedAuthor Commented:
Thanks Jamie, they don’t want to see all the emails but whenever they search from SharePoint the email message content should be searchable with the respective user permissions

search.jpgThanks
Jamie McAllister MVPSharePoint ConsultantCommented:
In the organizations I work with, emails are added to libraries as content using a package such as Harmon.ie or Colligo.

This is the most sensible approach to this problem IMHO.
tabreedAuthor Commented:
Please let me know in details how I can add my mailbox to a library
Jamie McAllister MVPSharePoint ConsultantCommented:
Perhaps I'm not being clear. Your options as I see them are;

1. Drag emails into a library for sharing and search indexing using an external product like Harmon.ie
2. Configure the Exchange Connector to allow SP Search to crawl Shared Mailboxes (https://technet.microsoft.com/en-us/library/jj591608.aspx)
3. Write custom code to interrogate the Exchange web services to [somehow] achieve this. I have no code sample for this.

Which solution do you want me to elaborate on?
tabreedAuthor Commented:
thanks, i would like to test 2 option first if dosent work than 3 option
Jamie McAllister MVPSharePoint ConsultantCommented:
OK. The link I provided has step by step guidance for option 2. Not much more I can add there.
tabreedAuthor Commented:
Thanks, We have Exchange 2013, it will be same step as exchange 2010 ?. Please advice
Jamie McAllister MVPSharePoint ConsultantCommented:
There shouldn't be any major differences.
tabreedAuthor Commented:
Thanks, let me try. i will update you
tabreedAuthor Commented:
Hi Jamie, i have tried 2 option  it only allowing me to crawl public folder  still i couldn't able to crawl the user's mailbox
i think i need to try 3rd option. Please advice
Jamie McAllister MVPSharePoint ConsultantCommented:
Hi Tabreed,

There are code samples to call the Exchange web services here;

https://msdn.microsoft.com/en-us/library/office/jj900168%28v=exchg.150%29.aspx

However I have grave doubts about you meeting the requirement. Even if you can successfully crawl personal mailboxes how will you manage permissions?

The search crawler might have permissions where the user does not. As such they'll be able to see confidential items for other people in the search summary though not the mailbox itself.

Your requirement is a recipe for trouble.
tabreedAuthor Commented:
Thanks Jamie,  i am also confused.  how about if i implement the eDiscovery. please advice
Jamie McAllister MVPSharePoint ConsultantCommented:
Hi Tabreed,

eDiscovery is about Compliance. It allows litigators to find material in SharePoint and Exchange as part of an investigation.

It's not what you're after.

Jamie
tabreedAuthor Commented:
Hi Jamie,

I totally got stuck, even I couldn’t able to connect mailbox to library   please help me, I have around 10 Exchange 2013 mailboxes that I need to be crawl to SharePoint 2013
Jamie McAllister MVPSharePoint ConsultantCommented:
Are they shared or private mailboxes?

What security needs to be in place?

What have you tried so far?
tabreedAuthor Commented:
They are private mailboxes, we need provided selected user to have access the search results.

I have tried to configure as external source with OWA url, shared location and connect to library but no luck
Jamie McAllister MVPSharePoint ConsultantCommented:
Hi Tabreed,

As I mentioned before, this isn't really what SharePoint Search is for, hence the difficulty meeting the requirement. If I was being asked to do this I'd be pushing back strongly to try and explain that situation.

First off the Search crawl account needs to be given permissions to access the mailboxes.

Next, write some custom code to call Exchange from SharePoint to get the info for crawl. I don't see this as particularly straightforward. https://msdn.microsoft.com/en-us/library/office/dn535506(v=exchg.150).aspx#bk_getews

Finally you need to manage permissions so only certain people see these results. I don't see how you can do this.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tabreedAuthor Commented:
Thank you so much
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.