The global demand for energy and the price of electricity are on the rise, while conventional energy sources are being depleted at an accelerated pace, thereby raising significant environmental concerns such as global warming and fluctuations in temperature. Moreover, the innovative practice of providing electric vehicles’ retired batteries as a storage solution, commonly referred to as second-life batteries storage system. The primary aim of this study is to undertake a techno-economic-environmental feasibility assessment of a grid-connected campus building that incorporates a solar photovoltaic (PV) system and second-life battery storage within a campus microgrid, utilizing HOMER Pro software. In particular, we will employ this software to analyze the net present cost, cost of energy, operational cost and greenhouse gases emission associated with the system. This research aspires to provide valuable insights and guidance to decision-makers who are exploring alternatives for energy production and infrastructure that are technically, economically, and environmentally sustainable, thereby supporting sustainable operations in both residential and commercial buildings.