office365 - SharePoint 2013 Search Service to index Office 365 Shared Mailbox -


i have project requires sharepoint 2013 search service (on premise deployment) index 1 office 365 shared mailbox. based on research following not possible:

  • exchange content source: works old on premise exchanges
  • ediscovery: different feature. has exchange configuration can’t used in search scenarios.
  • business connectivity services:i tried creating external content source in visual studio providing odata urls didn’t succeed
  • hybrid federated search works in scenario sharepoint server 2013 sharepoint online, not in scenario
  • third part solution not accessible client.

this post close scenario old , doesn’t lead solution.

i explored new “groups” in o365 not applicable. client needs single place searching sharepoint data , shared mailbox.

what see possible approach use of outlook rest api real time searches against mailbox. tested , i’m able retrieve data in sharepoint hosted app. big problem don’t have refinements , total items count.

can point me better solution? missing something?

i suggest use microsoft graph rest instead of office 365 rest api.

it exposes multiple apis microsoft cloud services through single rest api endpoint (https://graph.microsoft.com). using microsoft graph, can turn formerly difficult or complex queries simple navigations.

the microsoft graph gives you:

  • a unified api endpoint accessing aggregated data multiple microsoft cloud services in single response
  • seamless navigation between entities , relationships among them
  • access intelligence , insights coming microsoft cloud

and can use $count query parameters return number of items in collection. here example return number of result reference:

get: https://graph.microsoft.com/v1.0/me/messages?$filter=contains(subject,'a')&$count=true 

you resonpnse below number of items:

@odata.context=https://graph.microsoft.com/v1.0/$metadata#users('')/messages @odata.count=341 @odata.nextlink=https://graph.microsoft.com/v1.0/me/messages?$filter=contains(subject,'a')&$count=true&$skip=10 value{} 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -