{"id":1058,"date":"2019-12-16T22:50:12","date_gmt":"2019-12-16T22:50:12","guid":{"rendered":"http:\/\/pingalasolutions-com.preview-domain.com\/?p=1058"},"modified":"2023-01-17T20:35:30","modified_gmt":"2023-01-18T01:35:30","slug":"office-365-access-enforcing-vpn-with-adfs","status":"publish","type":"post","link":"https:\/\/www.pingalasolutions.com\/?p=1058","title":{"rendered":"Office 365 access: Enforcing VPN with ADFS"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1058\" class=\"elementor elementor-1058\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3b2229e3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3b2229e3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-33ebbce0\" data-id=\"33ebbce0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-64b06916 elementor-widget elementor-widget-text-editor\" data-id=\"64b06916\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div dir=\"ltr\" style=\"text-align: left;\">\r\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/3.bp.blogspot.com\/-dsWvgQNDZLk\/XIg4SLQLrEI\/AAAAAAAAAgQ\/tMnc0z54-I4Z-HJA_qfaEjMV-N7SZBjtwCLcBGAs\/s640\/ADFS-VPN.PNG\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/3.bp.blogspot.com\/-dsWvgQNDZLk\/XIg4SLQLrEI\/AAAAAAAAAgQ\/tMnc0z54-I4Z-HJA_qfaEjMV-N7SZBjtwCLcBGAs\/s640\/ADFS-VPN.PNG\" width=\"640\" height=\"237\" border=\"0\" data-original-height=\"374\" data-original-width=\"1006\" \/><\/a><\/div>\r\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><\/div>\r\n&nbsp;\r\n<div class=\"MsoNormal\" style=\"line-height: normal; margin-bottom: 0in;\"><\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\">Recently, I was asked for possible solutions to enforce VPN connection to access Office 365. This seems odd at first, for this is against one of the tenets of Office 365, accessing service from anywhere and on any device. But then there is always a certain use case that needs to be addressed. In this case, the customer had deployed Office 365 and federated using ADFS, a textbook deployment with 2 ADFS server farm, and 2 WAPs in the DMZ.<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\">Within the Microsoft 365 world, Intune and Conditional access would enable for enforcing policies. However, that will also require the customer to acquire additional licenses beyond O365 E3, which my customer did not want to do.<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\"><\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\">I compiled some of the possibilities with ADFS to enforce VPN connectivity. Although I do not recommend anyone to bypass the features, I want to share this out to get some feedback from the community, to see if this is such a common scenario, or if anyone implemented any of these or other cost-effective solutions.<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\"><\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\"><u>Possibilities using ADFS<\/u>:<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\">There are options available through ADFS configuration to disable access to Office 365 from a domain joined, but non-domain connected device. The following will focus only on the ADFS possibilities to disable non-VPN users from accessing Office 365 services. Implementing any of this may affect services other than Office 365, which may be using ADFS for identity federation.<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\"><\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\">Note: Imposing VPN connectivity will put a load on the VPN environment with possible use of Office 365 services such as EoL, SharePoint, Office ProPlus, ODFB, Teams, SKFB etc.<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\"><\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt;\">\u00a0<u>Options<\/u>:<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 0.25in; text-indent: -0.25in; vertical-align: middle;\">1.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Turn off WAP servers:<\/div>\r\n<div class=\"MsoListParagraph\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 0.25in; vertical-align: middle;\">In Microsoft and ADFS world, WAP servers sit in the DMZ and provide for proxy termination of all requests coming from the internet. The user is challenged to authenticate themselves with their User ID and Password. Turning off the WAP servers would mean there is no end point for the internet traffic to authenticate to. So, this should force only the network connected devices to authenticate through ADFS and access Office 365 services. Turning off the WAP server would mean:<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">a.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>All access from non-domain connected devices will be disabled<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">b.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Will affect all applications\/services- beyond Office 365- that are using ADFS as the identity provider<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">c.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Users connecting from domain connected devices will not be affected, as they will be directed to ADFS servers<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">d.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>To test:<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-indent: -1in; vertical-align: middle;\"><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>i.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Critical: External users- Modern apps (Office 2016), classic apps, web apps, Clients apps (Outlook, Skype)<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-indent: -1in; vertical-align: middle;\"><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>ii.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Good to test: Internal users as well.<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 0.25in; text-indent: -0.25in; vertical-align: middle;\">2.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Differentiate access policies for intranet and Extranet access &#8211;<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">a.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Typically, access policies are different for intranet and Extranet users. Access with forms authentication is turned on for Extranet users, while intranet users will experience Web SSO with IWA<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">b.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Disabling forms authentication for external users could stop those users not connected to the company network<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">c.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>This will affect Office 365 and any other applications\/services that is using ADFS as the identity provider<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">d.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Users from domain connected devices should not be affected<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">e.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>To test:<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-indent: -1in; vertical-align: middle;\"><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>i.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Critical: External users- Modern apps (Office 2016), classic apps, web apps, Clients apps\u00a0 (Outlook, Skype)<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-indent: -1in; vertical-align: middle;\"><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>ii.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Good to test: Internal users as well.<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 0.25in; text-indent: -0.25in; vertical-align: middle;\">3.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Edit claims rules \/ Access Control Policy:<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">a.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Modify &#8220;Issuance Authorization Rules&#8221; (Server 2012), &#8220;Access Control Policy&#8221; (Server 2016)<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">b.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>This can be done at the Relying party trust level, and hence will not affect global ADFS environment like the previous two options<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">c.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Access Control Policy (Server 2016)<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-indent: -1in; vertical-align: middle;\"><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>i.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>For the &#8220;Office 365&#8221; Relying Party Trust, modify the &#8220;Access Control Policy&#8221; as needed<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">d.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Claims rule &#8211; &#8220;Issuance Authorization Rules&#8221; (Server 2012)<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-indent: -1in; vertical-align: middle;\"><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>i.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Edit &#8220;Issuance Authorization Rules&#8221; claims rule for the &#8220;Office 365&#8221; Relying Party Trust<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-indent: -1in; vertical-align: middle;\"><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>ii.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Permit or Deny based on &#8220;Inside Corporate Network&#8221; claim<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">e.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>This is a little more complex than the previous 2 options but opens the possibilities<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">f.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>Beware that the claims rule changes could have inadvertent effect on domain-connected users as<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">\u00a0 \u00a0 \u00a0 \u00a0 well<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 45pt; text-indent: -0.25in; vertical-align: middle;\">g.<span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span>To test:<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-align: left; text-indent: -1in; vertical-align: middle;\"><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal; text-indent: -1in;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span><span style=\"font-size: 11pt; text-indent: -1in;\">i.<\/span><span style=\"font-family: 'times new roman'; font-size: 7pt; font-stretch: normal; line-height: normal; text-indent: -1in;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-size: 11pt; text-indent: -1in;\">Critical: Both Internal and External users &#8211; Modern apps (Office 2016), classic apps, web\u00a0 \u00a0 \u00a0<\/span><\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt 1in; text-align: left; text-indent: -1in; vertical-align: middle;\"><span style=\"font-size: 11pt; text-indent: -1in;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 apps, Clients apps (Outlook, Skype)<\/span><\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt; vertical-align: middle;\"><\/div>\r\n<div><\/div>\r\n&nbsp;\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt; vertical-align: middle;\">Those are the possibilities with ADFS that I came up with. Let me know if you have come across this requirement and what your solution was.<\/div>\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt; vertical-align: middle;\"><\/div>\r\n&nbsp;\r\n<div class=\"MsoNormal\" style=\"font-family: Calibri, sans-serif; font-size: 11pt; line-height: normal; margin: 0in 0in 0.0001pt; vertical-align: middle;\">In a follow up blog, I will discuss other ways to secure the service\/content using MFA, Conditional Access, AIP\/ DLP etc. Till then, enjoy whatever you are doing.<\/div>\r\n<\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>&nbsp; Recently, I was asked for possible solutions to enforce VPN connection to access Office 365. This seems odd at first, for this is against one of the tenets of Office 365, accessing service from anywhere and on any device. But then there is always a certain use case that needs to be addressed. In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[12],"tags":[8,9,10,11],"class_list":["post-1058","post","type-post","status-publish","format-standard","hentry","category-m365","tag-adfs","tag-o365","tag-office-365","tag-vpn"],"featured_image_src":null,"author_info":{"display_name":"Suresh","author_link":"https:\/\/www.pingalasolutions.com\/?author=1"},"author_meta":{"display_name":"Suresh","author_link":"https:\/\/www.pingalasolutions.com\/?author=1"},"featured_img":null,"coauthors":[],"tax_additional":{"categories":{"linked":["<a href=\"https:\/\/www.pingalasolutions.com\/?cat=12\" class=\"advgb-post-tax-term\">M365<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">M365<\/span>"]},"tags":{"linked":["<a href=\"https:\/\/www.pingalasolutions.com\/?cat=12\" class=\"advgb-post-tax-term\">ADFS<\/a>","<a href=\"https:\/\/www.pingalasolutions.com\/?cat=12\" class=\"advgb-post-tax-term\">O365<\/a>","<a href=\"https:\/\/www.pingalasolutions.com\/?cat=12\" class=\"advgb-post-tax-term\">Office 365<\/a>","<a href=\"https:\/\/www.pingalasolutions.com\/?cat=12\" class=\"advgb-post-tax-term\">VPN<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">ADFS<\/span>","<span class=\"advgb-post-tax-term\">O365<\/span>","<span class=\"advgb-post-tax-term\">Office 365<\/span>","<span class=\"advgb-post-tax-term\">VPN<\/span>"]}},"comment_count":"0","relative_dates":{"created":"Posted 6 years ago","modified":"Updated 3 years ago"},"absolute_dates":{"created":"Posted on December 16, 2019","modified":"Updated on January 17, 2023"},"absolute_dates_time":{"created":"Posted on December 16, 2019 10:50 pm","modified":"Updated on January 17, 2023 8:35 pm"},"featured_img_caption":"","series_order":"","_links":{"self":[{"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=\/wp\/v2\/posts\/1058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1058"}],"version-history":[{"count":7,"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=\/wp\/v2\/posts\/1058\/revisions"}],"predecessor-version":[{"id":1437,"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=\/wp\/v2\/posts\/1058\/revisions\/1437"}],"wp:attachment":[{"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pingalasolutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}