Accelerating the green transformation of the power system is the inevitable path of the energy revolution; the increasing installed capacity of new energy and the penetration rate of electricity, uncertainty regarding new energy output, and the rising proportion of distributed power supply access have led to the threat against the safe and stable operation of the current power system. With the increasing uncertainty on both sides of power supply and demand, the microgrid (MG) is needed to effectually aggregate, coordinate, and optimize resources, such as adjustable resources, distributed power supply, and distributed energy storage in a certain area on the demand side. Therefore, in this paper, the uncertainty of wind power and PV is first dealt with by Latin hypercube sampling (LHS). Secondly, differentiated resources in the MG region can be divided into adjustable resources, distributed power supply, and energy storage. Adjustable resources are classified according to demand response characteristics. At the same time, the MG operating cost and carbon trading mechanism (CTM) are comprehensively considered. Finally, a low-carbon economy optimal scheduling strategy with the lowest total cost as the optimization goal is formed. Then, in order to verify the effectiveness of the proposed algorithm, three different scenarios are established for comparison. The total operating cost of the proposed algorithm is reduced by about 30%, and the total amount of carbon trading in 24 h can reach nearly 600 kg, bringing economic and social benefits to the MG.