Maintenance coordination for a composite power system poses great challenges regarding the manner in which renewable resources and distributed generators can be integrated into the modern competitive power electrical system. Recently, integration of intelligent infrastructures including smart meters and 2-way communication systems increases the complexity of maintenance scheduling problem. The present study is conducted in order to coordinate maintenance scheduling, including generation units and transmission lines, in a smart grid in presence of renewable resources as stochastic power producers. Moreover, by using smart communication service, the study discusses various maintenance strategies which can be optimized by proper demand response. Technically, security and congestion problem are two important issues which are considered in this research. In addition, in order to reduce financial loss of not selling energy during maintenance activities, demand response program is discussed in the maintenance coordination program. To make a reasonable decision under uncertainty, two kinds of important uncertainties are considered in this paper as stochastic power production and random line failure. Regarding the mentioned principles, maintenance scheduling for transmission lines and generation units are coordinated through a smart grid. At the end, a 9-bus test power system is used to show the applicability of proposed maintenance coordination approach which