# User tagging office365

**URL:** <https://community.dynatrace.com/t/user-tagging-office365/19543>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, tagging\
**Created:** [February 12, 2019, 3:44pm UTC](https://community.dynatrace.com/t/user-tagging-office365/19543 "2019-02-12T15:44:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fporroalonso](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@fporroalonso](https://community.dynatrace.com/u/fporroalonso)\
**Post date:** [February 12, 2019, 3:44pm UTC](https://community.dynatrace.com/t/user-tagging-office365/19543/1 "2019-02-12T15:44:15Z")

</div>

Using Chrome Dynatrace Real User Monitoring extension we are able to capture RUM information but we are not able to tag users.

Anyone has been able to extract username for tagging from office365?

Thanks

---

<div class="post-metadata">

**Author:** ![simon\_scheurer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/simon_scheurer/32/16449_2.png) [@simon\_scheurer](https://community.dynatrace.com/u/simon_scheurer)\
**Post date:** [February 12, 2019, 4:40pm UTC](https://community.dynatrace.com/t/user-tagging-office365/19543/2 "2019-02-12T16:40:17Z")

</div>

What extraction rule are you using? I successfully extracted a user with the user tag extraction #O365\_MeFlexPane\_ButtonID@title in outlook. The session shows up displaying the proper name (“Scheurer, Simon”) - I was recording my own outlook using the extension

---

<div class="post-metadata">

**Author:** ![fporroalonso](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@fporroalonso](https://community.dynatrace.com/u/fporroalonso)\
**Post date:** [February 13, 2019, 7:36am UTC](https://community.dynatrace.com/t/user-tagging-office365/19543/3 "2019-02-13T07:36:57Z")

</div>

Hi, thank you this extraction does not work in all office products like planner or onedrive. I’m trying to use o365cs-mfp-userDisplayName

---

<div class="post-metadata">

**Author:** ![simon\_scheurer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/simon_scheurer/32/16449_2.png) [@simon\_scheurer](https://community.dynatrace.com/u/simon_scheurer)\
**Post date:** [February 13, 2019, 7:48am UTC](https://community.dynatrace.com/t/user-tagging-office365/19543/4 "2019-02-13T07:48:04Z")

</div>

I will check with this setting as well. Please note that you can set several rules. The first matching rule will be used. Ie. you do not necessarily need one single rule that matches all tools. For example you can add my suggested rule as well which will work in several of the products and then starting to add more specific rules for the ones that do not match.

---

<div class="post-metadata">

**Author:** ![fporroalonso](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@fporroalonso](https://community.dynatrace.com/u/fporroalonso)\
**Post date:** [February 13, 2019, 7:55am UTC](https://community.dynatrace.com/t/user-tagging-office365/19543/5 "2019-02-13T07:55:00Z")

</div>

Thank you, I will do. workloadsData and auth\_upn looks promised candidates too.

---

<div class="post-metadata">

**Author:** ![simon\_scheurer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/simon_scheurer/32/16449_2.png) [@simon\_scheurer](https://community.dynatrace.com/u/simon_scheurer)\
**Post date:** [February 13, 2019, 8:48am UTC](https://community.dynatrace.com/t/user-tagging-office365/19543/6 "2019-02-13T08:48:58Z")

</div>

I have seen that the office applications have a JavaScript object in the header that contains information about the current user. Thus I use now additionally the JavaScript user tag

```auto
_spPageContextInfo.webTitle

```

This works well also on the planner. Extraction works without problems in my extension.

Some additional questions:

Do you have “Do not track” settings enabled in your browser?

If in the application settings --\> Data Privacy --\> “Comply with ‘Do Not Track’ browser settings” is enabled for your application, then the user tag will only be extracted for browsers that do not have the setting activated.

Thus please check that you either have the “Comply with ‘Do Not Track’ browser settings” disabled or check in your browser whether do not track is set to on (in Chrome: Advanced Settings --\> Send a “Do Not Track” request with your browsing traffic)

Thus in summary: The extraction rule needs to be on, but also the do not track settings matter to decide whether we extract the user tag at all.

---

<div class="post-metadata">

**Author:** ![simon\_scheurer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/simon_scheurer/32/16449_2.png) [@simon\_scheurer](https://community.dynatrace.com/u/simon_scheurer)\
**Post date:** [February 13, 2019, 8:50am UTC](https://community.dynatrace.com/t/user-tagging-office365/19543/7 "2019-02-13T08:50:09Z")

</div>

P.S. the above rule is not a CSS selector rule but a JavaScript Variable rule
