Under some circumstances, it may be necessary to re-enroll a Jazz agent programmatically, for example via a non-interactive shell after the deployment of a new stack. In earlier versions of the Jazz agent it was necessary to first un-enroll the agent before enrolling again.
From Jazz agent version 3.0.4 onwards, it is now possible to perform a re-enrollment using the following commands:
(Requires administrator privileges)
"C:\Program Files[ (x86)]\Jazz Networks\Agent\agent.exe" enroll -f <bundle filename>
sudo jazz-agent enroll -f <bundle filename>
sudo /Applications/Jazz\ Networks.app/Contents/Resources/agent enroll -f <bundle filename>