Step 1: Understanding the Concept
Different endocrine glands develop from different embryonic layers.
Step 2: Endodermal glands
Thymus and parathyroids arise from the endodermal pharyngeal pouches. The thyroid buds from the endodermal lining of the pharynx floor.
Step 3: Odd one
The pineal gland grows from the roof of the diencephalon of the brain, so it is of ectodermal (neural) origin.
Final Answer:
The pineal gland is not endodermal in origin.
\[ \boxed{\text{(D) }\text{Pineal gland}} \]