Skip to content

Agent job collector fails without msdb access #656

@erikdarlingdata

Description

@erikdarlingdata

Which component(s) does this affect?

  • Dashboard
  • Lite

Problem Statement

The Running Jobs collector queries msdb system tables. If the connected login doesn't have access to msdb, the collector fails silently or throws an error.

Proposed Solution

  1. Add a pre-flight check for msdb access before running the collector (e.g., HAS_DBACCESS('msdb'))
  2. If access is denied, skip the collector gracefully
  3. Add a message to the Running Jobs tab indicating the permissions issue (e.g., "Running Jobs requires msdb access. Grant the login access to msdb to enable this feature.")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions