"untenable" is the correct word. I feel the sentence would be better with a slight adjustment: He resigned only when his position within the company became untenable.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.