An endometrial biopsy is needed to confirm a endometrial cancer diagnosis and can be performed in the doctor's office. A thin flexible tube is inserted through the vagina and cervix into the uterus to obtain a tissue sample from the endometrium.