Forum Discussion

j_r_beer's avatar
j_r_beer
Copper Contributor
May 04, 2022

How to stop an app from going through the reverse proxy?

I have 2 apps. Let's call them "SharePoint" and "Expense App". I want SharePoint access to go through the reverse proxy so I make a Azure AD conditional access policy, apply it to SharePoint sign-ins, and everything is working great. I can go to SharePoint and it is proxied and I can go straight to Expense App without the proxy and that works fine as well. However, when I click on a link in SharePoint to go to Expense App then it sends that through the proxy too and that breaks parts of Expense App. I found Expense App listed as "Connected" under "Conditional Access App Control apps" in the "Connected Apps" section of the Microsoft Defender for Cloud Apps portal. I tried removing it thinking that would solve the problem but it soon reappears. I believe that is due to Expense App being configure for SSO in Azure AD and Defender for Cloud Apps automatically discovering it.
Is there any way for me to get around this?

3 Replies

  • Hi,

    This should be possible if the app is not configured to go through MDCA proxy.

    If you access the app from the conditional access app control apps page > "edit app" and make sure that "use the app with session controls" is unchecked.
    • j_r_beer's avatar
      j_r_beer
      Copper Contributor
      Just wanted to follow up on this. The traffic still goes through the proxy. The check box you are talking about would stop session controls from being applied but doesn't stop the traffic from being proxied altogether.
      • Keith_Fleming's avatar
        Keith_Fleming
        Icon for Microsoft rankMicrosoft

        j_r_beer there have been some recent changes to the behavior, recommend opening up a ticket if there are specific apps you do not want to be proxied while accessing SharePoint online.

Resources