OWA 2007 and ASM OWA Template
Using the regex you first noted:
(?<=\/exchange\/)([^\/”]+)
the user name will be logically removed from these example URI’s:
/exchange/my.user/Inbox/my_subject.EML?Cmd=open
/exchange/my.user/Tasks/?Cmd=contents
/exchange/my.user/Inbox/?Cmd=contents&Page=1&View=Messages
So if the only difference in OWA 2007 is that the prefix is OWA instead of exchange, you could change the regex to (?<=\/OWA\/)(?:[^\/”]+). Note that the supplied regex should include a ?: to prevent an unnecessary capture of the match into a back reference.
With the regex configured correctly, you shouldn’t see the username in the URIs logged in ASM. So if you try the modified regex and do see the username in the URIs, reply with some examples and we can take another look.
Hope this helps,
Aaron
Read more here: Source link
