Goal: allow access to https://www.office.com/ only from named location
Allow access from anywhere only if device is intune compliant.
Created named location and set IP address
Policy:
Users and groups: Specified group
Cloud app: Office365 Preview
Conditions: Device platforms:Any device
Locations:Any locations, exclude: named location
Client apps: Select the client apps this policy will apply to:
Browser
Mobile apps and desktop clients
Modern authentication clients
Exchange ActiveSync clients
Other clients
Device state: Inlcude all device state,
exclude: Device Hybrid Azure AD joined
![Image: https://content.spiceworksstatic.com/service.community/p/post_images/0000399225/5edab69f/attached_image/1.png]()
Access control:Block
Device is marked as compliant
Able to access to office365.com from edge
I have issues Only with outlook for Windows 10, unable to add email account
Sign in works for all Office applications except Outlook
Able to add email account to Built in mail app....