Yes, you do.
https://en-americas-support.nintendo.com/app/answers/detail/a_id/9159
A NNID can only be transferred using this process (unless there is a homebrew option?)
If the source console is non-functional then I believe you are out of luck and the only way to transfer content (games etc)...