Welcome to the Alteryx Knowledge Base
Created/Edited -
Error: AuthenticationException After Installing Microsoft January Rollup Patches
Alteryx Server administrators and users may notice an "AuthenticationException" error after installing updates released January 11, 2022 or later from Microsoft on the Alteryx Server instance(s) that run the Gallery component. This issue can appear while saving or uploading a workflow, while browsing the Collections page on the Gallery, or while attempting to add access to users in a Windows Authentication environment. The issue will cause collections pages not to load with an error for end-users, and may cause issues while attempting to administer user permissions or settings.
The following message(s) may be displayed.
Gallery logs:
"System.Security.Authentication.AuthenticationException: The user name or password is incorrect.-> ---> System.Runtime.InteropServices.COMException: The user name or password is incorrect.->-> at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)-> at System.DirectoryServices.DirectoryEntry.Bind()-> at System.DirectoryServices.DirectoryEntry.get_AdsObject()-> at System.DirectoryServices.PropertyValueCollection.PopulateList()-> at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)-> at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)-> at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)-> --- End of inner exception stack trace ----> at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)-> at System.DirectoryServices.ActiveDirectory.Forest.GetForest(DirectoryContext context)-> at System.DirectoryServices.AccountManagement.ADStoreCtx.GetGroupsMemberOf(Principal p)-> at System.DirectoryServices.AccountManagement.Principal.GetGroupsHelper()-> at Alteryx.Server.Common.Utility.ActiveDirectory.AddDirectGroupsToList(Principal user, List`1 groups)-> at Alteryx.Server.Common.Utility.ActiveDirectory.GetForestGroupsSids(Int32 adCacheTimeout, String sid)-> at Alteryx.Server.Models.Presenters.WindowsAuthenticationCollectionPresenter.GetAccessibleCollections(User user, DateTime expiry)-> at Alteryx.Server.Models.Presenters.CollectionPresenter.GetCollections(User user, Func`1 expiryFunc)-> at SyncInvokeGetCollections(Object , Object[] , Object[] )-> at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)-> at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)-> at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)-> at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)-> at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"
Logging into the Gallery resulting in the following error "An unknown error occurred during authentication with your Windows credentials" (first rule out causes for this error linked here):
User Collection page may not load or throws a 500 error:
Saving or modifying workflows from Alteryx Designer results in an unknown error:
- Alteryx Server (all versions)
- Windows Authentication
- Windows Server 2012: KB5009586 installed
- Windows Server 2012 R2: KB5009624 installed
- Windows Server 2016: KB5009546 installed
- Windows Server 2019: KB5009557 installed
- Windows Server 2022: KB5009555 installed
- Windows Server 2019: KB5012647 (OS Build 17763.2803)
- Windows Server 2019: KB5010791 (OS Build 17763.2458)
Microsoft has identified an issue in the January Rollup Patches which causes the DirectoryServices functionality to fail. "Apps using Microsoft .NET Framework to acquire or set Active Directory Forest Trust Information might fail, close, or you might receive an error from the app or Windows. You might also receive an access violation (0xc0000005) error."
More about this issue can be found on Microsoft's website here.
Solution A (Recommended)
- Install the out-of-band patch for your installation of Windows Server. Patches for each version of Windows Server can be found here. Please note that Windows Server patch deployment is outside of the scope of this knowledge article and Alteryx Support is unable to assist with installing these patches. For any questions around patching or how to properly apply patches to your machines, reach out to your IT team or system administrator.
- Once the patch is installed, reboot the Alteryx Server machine and validate the issue has been resolved.
Solution B
- Remove the January patch. A listing is included in the "Environment" section above. Please note that this list may not be complete, but we have attempted to list the known patches that Microsoft has provided. For any questions around patching or how to properly remove patches from your machines, reach out to your IT team or system administrator. If setup in your environment, these patches may automatically deploy back to your instance and cause the failure to recur.
- Once the patch has been removed, reboot the Alteryx Server machine and validate the issue has been resolved.
Optional
- Microsoft has addressed this issue in the Cumulative May Update.
- KB5013624