Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFGlobalSettings.DisableAuthenticationFallback Property

AFGlobalSettings.DisableAuthenticationFallback Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFGlobalSettings.DisableAuthenticationFallback Property
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: Boolean
This 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.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in