THE INFORMATION IN THIS ARTICLE APPLIES TO:
Using SSO and JIT, WTC fails to redirect user to “Shared with Me” workspaces
This is relate to a Chromium bug: Cookies are ignored on 302 redirects (https://bugs.chromium.org/p/chromium/issues/detail?id=696204), causing "saved path" cookie to be unavailable at the time of request to the IdP. As a result, the relay state gets incorrect path value.
(When using desktop outlook app or copy link from email and use link in new session, there is no such problem.)
Set the advanced property HttpCookieSameSitePolicy to "Lax".
To set the HttpCookieSameSitePolicy
Add the name:value pair to the AdvancedProperties.JSON file: