Ensure your device isn't in 'Do Not Disturb' for the alarm to work.