Herein, how does Yoda absorb lightning?
He was able to absorb the crew's blaster bolts in one hand and transferred the energy across his chest into Force lightning emerging from the other hand. Master Yoda used this ability to deflect a blast of Force lightning from Count Dooku back at him on Geonosis.
Additionally, did Yoda use force lightning in the last Jedi? In Lucas's depiction, the Dark Side of the Force was inherently unnatural, and Force Lightning was a perversion of the Force. What Yoda's ghost did seems to have been very different than that. He didn't create the lightning (though he seems to have summoned the storm) but he did direct it.
Accordingly, can Jedi use lightning?
Electric Judgment, also known as Emerald Lightning, was a Force technique used by the Jedi to spray electric bolts of variable intensity from the hands and fingers. Despite being classified as a forbidden Force power within the Jedi Order, a few Jedi such as Plo Koon and Jacen Solo practiced it.
Can only Palpatine use lightning?
It was not the most powerful form of Force lightning, however; it still took mastery in the art of Force lightning and high concentration to use Lightning Shield. It could even redirect Force lightning back at another user of Force lightning. The only known users were Emperor Palpatine and Galen Marek.