Catalysis of the transfer of the lipoyl group from lipoyl-AMP to the lysine residue of lipoate-dependent enzyme.