Board Thread:Naruto Discussions/@comment-46702312-20200902014722/@comment-6769189-20200902095855

No it was never stated that they had immunity.

Kishimoto wasnt super clear that the Rinnegan being a Sharingan evolution was just a misconception by Kabuto/Orochimaru, so fans think it has all the perks of a Sharingan/Mangekyou Sharingan. We know this isnt true because Madara had to deactivate the Rinnegan and use the Mangekyou Sharingan to cast a genjutsu on A.

Sasukenis the only Rinnegan user shown to use MS abilities and he got special mods from Hagoromo

@Fan: Itachi is not immune to Sharingan genjutsu. Sasuke casted it on him to release him from Kabuto's genjutsu.