# Connecting Outlook with CUSTOM API SOURCES

**URL:** <https://discuss.elastic.co/t/connecting-outlook-with-custom-api-sources/253666>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [October 29, 2020, 9:38am UTC](https://discuss.elastic.co/t/connecting-outlook-with-custom-api-sources/253666 "2020-10-29T09:38:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MARCO\_RAMBALDI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_rambaldi/32/46108_2.png) [@MARCO\_RAMBALDI](https://discuss.elastic.co/u/MARCO_RAMBALDI)\
**Post date:** [October 29, 2020, 9:38am UTC](https://discuss.elastic.co/t/connecting-outlook-with-custom-api-sources/253666/1 "2020-10-29T09:38:44Z")

</div>

I have just installed and configured EnterpriseSearch on my on premesis stack to use the WorkplaceSearch solution...is anyone trying to use it like me? Many sources are missing, for example Outlook. I guess i need to use the Custom API, but i don’t know how to start...or maybe it would be available in the future?  
Another possible source could be a "microsoft shared folder".  
First question to start: where i can configure an indexing pipeline between Outlook e WS, in wich path folder? I cannot see a ws path folder for configuration as for logstash or elasticsearch or kibana. Do i have to configure a pipeline as in logstash?  
Second: I see that outlook provide GET API, how could i use it?

> **[\[DEPRECATED\] Outlook Mail REST API reference (version 2.0)](https://learn.microsoft.com/en-us/previous-versions/office/office-365-api/api/version-2.0/mail-rest-operations)**

Can anyone help me?  
Thanks.

Another possible source could be a "microsoft shared folder".

---

<div class="post-metadata">

**Author:** ![MadsOhm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madsohm/32/69154_2.png) [@MadsOhm](https://discuss.elastic.co/u/MadsOhm)\
**Post date:** [October 29, 2020, 10:03am UTC](https://discuss.elastic.co/t/connecting-outlook-with-custom-api-sources/253666/2 "2020-10-29T10:03:09Z")

</div>

Hi Marco

It's true that Workplace Search do not yet support Outlook.

You can go [here](https://www.elastic.co/guide/en/workplace-search/7.9/workplace-search-content-sources.html) to see a list of all the supported content sources.

If you want to index your Outlook email, you'll need to create a [Custom Source](https://www.elastic.co/guide/en/workplace-search/7.9/workplace-search-custom-sources-api.html) and then push your content into it using its API.

For sources not yet supported there is nothing automatically happening. You'll need to implement the extractor from Outlook using their APIs and then push the content to Workplace Search using our API.

I hope that makes sense.

---

<div class="post-metadata">

**Author:** ![MARCO\_RAMBALDI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_rambaldi/32/46108_2.png) [@MARCO\_RAMBALDI](https://discuss.elastic.co/u/MARCO_RAMBALDI)\
**Post date:** [October 29, 2020, 10:18am UTC](https://discuss.elastic.co/t/connecting-outlook-with-custom-api-sources/253666/3 "2020-10-29T10:18:55Z")

</div>

Hi Mads,  
thanks for your reply. Yes, of course it makes sense for me. I see this documentation to implement the extractor:

> **[Get Started with the Outlook REST APIs - Outlook Developer](https://docs.microsoft.com/en-us/outlook/rest/get-started)**
>
> Learn how to use Microsoft Graph via REST requests and responses to access the Outlook API.

  
I just have to decide whether to use Python or Ruby, since I know both languages. Am i right?  
About the other question, where can i configure the pipeline to push the content to WS using your API? As i wrote before I cannot find a path folder instead in Logstash i know there is /etc/logstash. Can you help me?

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [October 29, 2020, 10:25am UTC](https://discuss.elastic.co/t/connecting-outlook-with-custom-api-sources/253666/4 "2020-10-29T10:25:27Z")

</div>

I would suggest simply using logstash to pull data from Oulook using http\_poller input plugin and then push them to workplace search using http output plugin

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 31, 2022, 2:48am UTC](https://discuss.elastic.co/t/connecting-outlook-with-custom-api-sources/253666/5 "2022-10-31T02:48:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
