Check to run this job if the user has administrative privileges on the UrbanCode Deploy server, specifically the permission to manage server settings. If the user is not an administrator it will be impossible to check if the server is running in maintenance mode.