F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. CrowdSRC
  3. CodeShare

APM Sharepoint authentication v2

Problem this snippet solves: This new version of irule supports NTLM auth (mandatory for Onedrive Apps) APM is a great authentication service but it does it only with forms. The default behavior...
Published May 23, 2017
Version 1.0
application delivery
BIG-IP Access Policy Manager (APM)
iRules
ms-ofba
sharepoint
Stanislas_Piro2's avatar
Stanislas_Piro2
Icon for Cumulonimbus rankCumulonimbus
Joined January 04, 2011
View Profile
AN's avatar
AN
Icon for Nimbostratus rankNimbostratus
Jul 05, 2018

Thanks Stanislas Piron for your response. My issue is I don't want to use APM policy if client is coming from internal. But if client is external then give F5 login page and do NTLM SSO to backend servers.

 

I want to use same VSERVER for both internal and external. I tried disabling APM based on client IP with no success.

 

when HTTP_REQUEST { 
 if { [IP::addr [IP::client_addr] equals 10.10.0.0/255.0.0.0] } { 
        ACCESS::disable 
        HTTP::cookie remove "MRHSession"
        HTTP::cookie remove "LastMRH_Session"
    } 
}

From below link I found other users have same issue. https://devcentral.f5.com/s/feed/0D51T00006i7aINSAY

 

Issue I am having with using your iRULE I still same error when opening any office documents. If I remove APM policy works fine.

 

Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2026 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information