# O365 get tenant authen token through proxy

**URL:** https://discuss.elastic.co/t/o365-get-tenant-authen-token-through-proxy/239289
**Category:** Beats
**Created:** [June 30, 2020, 11:55am UTC](https://discuss.elastic.co/t/o365-get-tenant-authen-token-through-proxy/239289 "2020-06-30T11:55:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)
#### Post date: [June 30, 2020, 11:55am UTC](https://discuss.elastic.co/t/o365-get-tenant-authen-token-through-proxy/239289/1 "2020-06-30T11:55:32Z")

</div>

Hi all.  
I have been trying to get o365 log using filebeat and there is apear to be a problems,  
the current filebeat that i am ussing need to get the authentication token but our serrver are put behind a proxy, is there a config to setup the proxy for the modules or is there a way to input the token by hand.

Thanks you for your time.

---

<div class="post-metadata">

### Author: ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)
#### Post date: [July 20, 2020, 10:55am UTC](https://discuss.elastic.co/t/o365-get-tenant-authen-token-through-proxy/239289/2 "2020-07-20T10:55:09Z")

</div>

Can anyone help me please, without the token i cannot get the data.

---

<div class="post-metadata">

### Author: ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)
#### Post date: [July 21, 2020, 11:10am UTC](https://discuss.elastic.co/t/o365-get-tenant-authen-token-through-proxy/239289/3 "2020-07-21T11:10:09Z")

</div>

Search `proxy` in the reference [https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-reference-yml.html](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-reference-yml.html)

---

<div class="post-metadata">

### Author: ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)
#### Post date: [July 22, 2020, 1:30am UTC](https://discuss.elastic.co/t/o365-get-tenant-authen-token-through-proxy/239289/4 "2020-07-22T01:30:28Z")

</div>

Thank you for your replies, well most of the proxy config i found on the reference are for output of filebeat, what i need is to setup proxy for filebeat to get the authen token and not output the data to anyplaces.

---

<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: [August 19, 2020, 3:30am UTC](https://discuss.elastic.co/t/o365-get-tenant-authen-token-through-proxy/239289/5 "2020-08-19T03:30:53Z")

</div>

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