Microsoft Remote Desktop Version 10.9.3 (2158) prevents MacOS 13.5.2 from sleeping. (The same was true for earlier versions of this program and MacOS.)
Preventing sleep wastes energy, heats the computer, and serves no purpose since there is no downside to letting a terminal client sleep.
Please provide an optional setting that would allow sleep.