When enrolling devices to InTune and found that the sleep option disappeared from the power settings.
After searching too long for this setting I found the configuration.
It was ‘hidden’ in the security baselines on 2 locations;
#1 – Security Baseline for Windows 10 and later
Power -> Standby states when sleeping while on battery -> Disabled (Change to Enabled)
Power -> Standby states when sleeping while plugged in -> Disabled (Change to Enabled)
#2 – Microsoft Defender for Endpoint Baseline
Bitlocker -> Standby states when sleeping while on battery -> Disabled (Change to Enabled)
Bitlocker -> Standby states when sleeping while plugged in -> Disabled (Change to Enabled)
Let me know if this helped you out!
Yes, it helped me!!