Noise from drive train

2012 Rzr 800 base model

When rolling in 2wd there is a noise coming from right below, maybe slightly behind the passenger compartment, kinda of a metallic rattling noise. If I put the machine in 4wd, the noise goes away, then comes back as soon as I return to 2wd. I’m guessing maybe a junk U-joint or bearing where the shaft connects up, making noise when it rotates freely, but under enough pressure to silence it when being turned mechanically. Any suggestions before I start tearing it apart?

Thanks in advance!