# How to Use .Net Agent with Sharepoint on Win Svr 2019

**URL:** <https://discuss.elastic.co/t/how-to-use-net-agent-with-sharepoint-on-win-svr-2019/238961>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [June 27, 2020, 4:38pm UTC](https://discuss.elastic.co/t/how-to-use-net-agent-with-sharepoint-on-win-svr-2019/238961 "2020-06-27T16:38:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckough](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ckough/32/61892_2.png) [@ckough](https://discuss.elastic.co/u/ckough)\
**Post date:** [June 27, 2020, 4:38pm UTC](https://discuss.elastic.co/t/how-to-use-net-agent-with-sharepoint-on-win-svr-2019/238961/1 "2020-06-27T16:38:36Z")

</div>

Hi there

I'm new to Elastic APM and I'm using ELK and App server 7.7. I've managed to get APM to talk to ELK.

I'm tasked to install APM agent on my Sharepoint server running on Windows Svr 2019. Sharepoint Web and Application components are running on 1 server with SQL Svr 2016 installed on another server.

I've browsed thru elastic doc and I find documentation on .Net agent very generic and sparse and seem to assume I'm fairly proficient with .NET apps. I did not find anything to tell me exactly how to handle Sharepoint.

Is elastic.apm package the right one to use or is it one of the other packages? I don't know. 😫

Can anyone pls assist me? Any step by step instruction will be really helpful. Thanks.

ck

---

<div class="post-metadata">

**Author:** ![Alex.Fedotyev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex.fedotyev/32/66475_2.png) [@Alex.Fedotyev](https://discuss.elastic.co/u/Alex.Fedotyev)\
**Post date:** [July 7, 2020, 12:16am UTC](https://discuss.elastic.co/t/how-to-use-net-agent-with-sharepoint-on-win-svr-2019/238961/2 "2020-07-07T00:16:01Z")

</div>

Hi CK!

We recommend deploying .NET APM agent together with your application, this way it becomes one of the modules of the application, responsible for collecting and reporting performance traces.

In case you SharePoint application is an IIS web app and is using .NET Framework 4.6.1+, you would need to also add [ASP.NET](http://ASP.NET) Module as explained here:  
[https://www.elastic.co/guide/en/apm/agent/dotnet/current/setup.html#setup-asp-net](https://www.elastic.co/guide/en/apm/agent/dotnet/current/setup.html#setup-asp-net)

Please, confirm the .NET version before adding a module, as .NET Core would need a different package.

Regards,  
-Alex

---

<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:** [July 27, 2020, 8:16pm UTC](https://discuss.elastic.co/t/how-to-use-net-agent-with-sharepoint-on-win-svr-2019/238961/3 "2020-07-27T20:16:07Z")

</div>

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