Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

APM start two session for Office App

MMarco_77
Cirrus
Cirrus

Hi,
after integrating F5 with Azure Active Directory (Azure AD) for Sharepoint authentication, I noticed that all content is opened correctly; Word, Wxcel, Powerpoint files are opened correctly in online mode, but the only thing that cannot be made to work is to open a file with the relative application.

What I notice is that two separate sessions are started:

Screenshot 2023-04-17 at 16.23.53.png

it is as if the MRHSession cookie was not considered as the GET call is not performed by the Client/Vs/Pool, but directly by the application.
In fact, from the log I notice that the name of the app is inserted in the header:

Screenshot 2023-04-17 at 16.24.07.png

Screenshot 2023-04-17 at 16.41.11.png

I tried to insert the clientless mode inside an iRule, but the result doesn't change.

Some idea?

Thanks

/MM

1 ACCEPTED SOLUTION

This should work with Edge Browser and enabled persistent cookies only. Browser saves the cookies to disc and the cookie is read by the real application.

Do you followed this article? https://techdocs.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-third-party-integration-13-...

View solution in original post

6 REPLIES 6

You should enable persistent cookies for this apm profile, if not already done.

Hi Jurgen,
do you mean this persistence? in fact it is not selected.
I don't know if it can be decisive, because the call made from excel comes without cookies (after all, it's not a browser that makes the call) and therefore it is recognized as a new session and not a subsession of the one made via browser .

It is true that reading the K15387( https://my.f5.com/manage/s/article/K15387)  indicates that

For some deployments of the BIG-IP APM system, as with Microsoft SharePoint, cookie persistence may be required

Screenshot 2023-04-18 at 09.32.21.png

 I do a test...
Thanks for now

/MM

Hi Jurgen,

as I thought, it doesn't work.

The call is made from application excel/word/ppt and not from the browser (from log I see that create a header), therefore it appears without MRH cookies and is recognized as a new session:

Screenshot 2023-04-18 at 09.50.09.png

Screenshot 2023-04-18 at 09.50.41.png

 Many thanks

/MM

Hello Marco,

 

Did you ever find a solution for this?

Yes, if I remember correctly...after much tshoot I discovered that when opening files such as word,Excel ... they were passed from another VS where apm was enabled and when files were selected in the native app a GET was sent directly from the app and not from the client and/or browser. This was the reason why two sessions were displayed. By removing apm from this VS everything works correctly
If you need more information, I will try to reconstruct better how I solved it

/MM

This should work with Edge Browser and enabled persistent cookies only. Browser saves the cookies to disc and the cookie is read by the real application.

Do you followed this article? https://techdocs.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-third-party-integration-13-...