AFGlobalSettings.DisableAuthenticationFallback Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Controls fallback authentication behavior if OIDC is set as the default mode and the
current PISystem or PIServer being connected to
does not support OIDC connections.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public static bool DisableAuthenticationFallback { get; set; }
Public Shared Property DisableAuthenticationFallback As Boolean Get Set Dim value As Boolean value = AFGlobalSettings.DisableAuthenticationFallback AFGlobalSettings.DisableAuthenticationFallback = value
public: static property bool DisableAuthenticationFallback { bool get (); void set (bool value); }
static member DisableAuthenticationFallback : bool with get, set
Property Value
Type: BooleanThis setting determines if we should automatically fall back to legacy authentication modes in the case where OIDC is set as default and it is unsupported by the server. The default value is .
Remarks
If disabled, default Connect() and implicit connections will fail when OIDC auth is set as the default. PISystem and PIServer can still be connected to in this case by using non default Connect methods.