Login with the original Apple ID you had on the device on iCloud.com and check if the device is still associated with that Apple ID. If so, leave it for now. Then setup a support contact session with that same Apple ID with Apple at support.apple.com, and tell them to help with your secondary account issue. Once support says it’s okay, remove the device from the original Apple ID; it’ll automatically get added to your second work one when you login during OOBE.
After support clears up any issues with the second account, reinstall macOS on the device with Internet Recovery.[0]
After support clears up any issues with the second account, reinstall macOS on the device with Internet Recovery.[0]
[0] https://support.apple.com/en-us/HT204904