Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Server Knowledge Base

Definitive answers from Server experts.

Internal error: tried to retrieve key container name before initializing encryption

MarkelioH
Alteryx
Alteryx
Created

Environment Details

 

You might get the following error when running a workflow or schedule job on the Gallery after configuring a run-as user in Alteryx Server.

 
Internal error: tried to retrieve key container name before initializing encryption.
 
  • Alteryx Server
    • All Versions


Cause

 

The reason why the workflow fails is that the run-as user or the service account does not have the right permissions set for %ProgramData%\Microsoft\Crypto\RSA\MachineKeys. 



    Diagnosis

     

    Please check and confirm that you have a run-as user configured in Alteryx System Settings.

    image.png

     

    Resolution

     

    The Windows Program Data folder contains content related to encryption keys used by Windows APIs. 

    • Location: %ProgramData%\Microsoft\Crypto\RSA\MachineKeys
    • Permissions: Read, Write


    Follow the instructions from the following documentations to configure the required run-as user permissions: https://help.alteryx.com/20213/server/configure-required-run-user-permissions



    Additional Resources