Skip to content

Deploying Diagnostic Settings to Event Hubs - Issue with DR Event Hubs #228

@awanarslan

Description

@awanarslan

Had a policy to deploy diagnostic settings on resources to Event Hubs, but some resources are in a different region than that of the Event Hub, which is forbidden.

To mitigate this, we have been using a Geo Recovery Alias to connect the Primary/Secondary Event Hubs and would like to reference that Geo Event Hub Alias as the Event Hub Namespace in the policy. Issue is when we get to the Event Hub Authorization Rule ID for that, the resource type is 'microsoft.eventhub/namespaces/disasterrecoveryconfigs/authorizationrules' when it is supposed to be ''microsoft.eventhub/namespaces/authorizationrules'.

I don't understand how we can possibly reference that as the second resource type while also referencing the DR Alias. Any guidance or ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions