Hi and sorry for the delay. Not been to the house but have received 2 photos. Not ideal but give an idea of location of the problem.
The wood, internal and external, holding the glazing in place, has rotted so needs replacing.
Is this a job for a joiner? A glazier? A skylight window specialist?
What's the best way to find the most relevant specialist....?