Skip to content

Copy-DBAAgentAlert incorrectly asserting that Agent Operators do not exist #5300

Closed
@GeorgePalacios

Description

Prior to running this I have run Install-Module DBATools -force

Steps to Reproduce

<#
copy-dbaagentalert -Source "SERVER1,PORT" -destination "SERVER2,port"
#>

Expected Behavior

Agent alerts should copy

Actual Behavior

Errors of the nature WARNING: [16:04:47][Copy-DbaAgentAlert] One or more operators alerted by [1480 - AG Role Change] is not present at the destination. Alert will not be copied. Use Copy-DbaAgentOperator to copy the operator(s) to the destination. Missing operator(s): DBA Support

The operators do exist on the destination

Environmental data

  • PowerShell:

PSVersion 5.1.17134.590
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.590
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

    • SQL Server: Microsoft SQL Server 2014 (SP2-CU9) (KB4055557) - 12.0.5563.0 (X64) Dec 7 2017 01:00:06 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.3 (Build 9600: ) (Hypervisor)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions