PREFACE - My organization is looking at moving to Office 365 Exchange Online - we currently use an in-house, non-exchange mail server. One of the issues we need to solve with this is the ability to restrict access to (hourly) employees, so that they can only access their email from our corporate office. While other employees (salary) may have the option to access their email remotely from home or on a mobile device. After doing some reading, I see this is possible with ADFS.
Fast forward, I have ADFS up and running in a lab environment, with an Office 365 trial going, a 30 day SSL cert, and I have the federation working as expected. I am running into issues creating the custom claim rule to restrict access and I am hoping someone can shed some light.
Ultimately, I would like to block access to any Office 365 service that does not...