Network Management

Importing Alerts containing SQL macro variables fails in the SolarWinds Platform 2022.1 and newer

When importing an alert containing SQL macro variables, the import fails with a permissions-related error.

First published date

2/6/2023 5:25 PM

Last published date

2/20/2025 9:41 PM

Overview

Attempting to import an alert with SQL in it will fail with the following error:

Alert import failed with error: Account is not permitted to import SQL based Alert or Alert contains SQL variables

This error message occurs regardless of permissions level, even if the user is an admin in the SolarWinds platform.

Product section

Orion Platform

Cause

Known issue with importing alerts.

Resolution

This issue is addressed in SolarWinds Platform 2023.1.1 and the release notes are here:
SolarWinds Platform 2023.1.1 Release Notes


Please upgrade your environment to this version with the steps here:
Perform a centralized upgrade of an existing deployment