WP-4515 Added code to check for denied workgroup