2. Is it fine to not include which application if we are trying to restrict all applications (eg. x-ms-client-application)
3. Is it best to stay away from "insidecorporatenetwork", it seems to be inaccurate in my lab.
Vasil Michev (MVP)
Exchange Online without Modern Auth is *always* external. You should use the x-ms-forwarded-client-ip claim instead to detect internal users. No need to have x-ms-client-application, it's only added for EO traffic anyway.
Keep the =~ if you are doing a regex match, or remove the "\b" marks!
Open in new window
changed to:
Open in new window