The integration of renewable energy resources into the smart grids improves the system resilience, provide sustainable demand-generation balance, and produces clean electricity with minimal leakage currents. However, the renewable sources are intermittent in nature. Therefore, it is necessary to develop scheduling strategy to optimise hybrid PV-wind-controllable distributed generator based Microgrids in grid-connected and stand-alone modes of operation. In this manuscript, a priority-based cost optimization function is developed to show the relative significance of one cost component over another for the optimal operation of the Microgrid. The uncertainties associated with various intermittent parameters in Microgrid have also been introduced in the proposed scheduling methodology. The objective function includes the operating cost of CDGs, the emission cost associated with CDGs, the battery cost, the cost of grid energy exchange, and the cost associated with load shedding. A penalty function is also incorporated in the cost function for violations of any constraints. Multiple scenarios are generated using Monte Carlo simulation to model uncertain parameters of Microgrid (MG). These scenarios consist of the worst as well as the best possible cases, reflecting the microgrid’s real-time operation. Furthermore, these scenarios are reduced by using a k-means clustering algorithm. The reduced procedures for uncertain parameters will be used to obtain the minimum cost of MG with the help of an optimisation algorithm. In this work, a meta-heuristic approach, grey wolf optimisation (GWO), is used to minimize the developed cost optimisation function of MG. The standard LV Microgrid CIGRE test network is used to validate the proposed methodology. Results are obtained for different cases by considering different priorities to the sub-objectives using GWO algorithm. The obtained results are compared with the results of Jaya and PSO (particle swarm optimization) algorithms to validate the efficacy of the GWO method for the proposed optimization problem.