AFGlobalSettings.DisableAuthenticationFallback Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.1.1.1182
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.