Did it make the noise before? If not, then it's most likely misaligned.
Did you pull the front gear case?
Put it up on the center stand, put it in gear, and slowly turn the rear wheel and see if will turn. If it does, then the drive shaft isn't mated on the bevel gear right.
There are 2 damper cams that need to be lined up, but I'm not sure if the case would go on if they weren't lined up.
You should go back in and check to make sure.
There is a small rubber boot between the gear case and swing arm you can pull back and try to spin the drive shaft with it up on the center stand to see where the noise is coming from for sure.
If it's not lined up, you will most likely have to pull the rear wheel to line it up. Not that hard to do, but time consuming.