Skip to content

🪲 Bug Report - Azure Gov missing SupportResources Table #91

Description

@Monte-Hazboun

Describe the bug

SupportResources table doesn't exist in AzureGov regions, this causes Get-WAFSupportTicket to throw the following error:

Search-AzGraph: { "error": { "code": "BadRequest", "message": "Please provide below info when asking for support: timestamp = 2025-02-06T20:52:33.3884816Z, correlationId = 504097ed-006f-4a27-83e4-be778f45b174.",
"details": [ { "code": "DisallowedLogicalTableName", "message": "Table SupportResources is invalid, unsupported or disallowed." } ] } }

To Reproduce

Steps to reproduce the behavior:

  1. Run Start-WaraCollector against an Azure Government tenant.
  2. Observe the error.

Expected behavior

In commercial tenants in the US, this just returns a blank result if no support tickets match the query.

Proposed Fix

Check the environment variable for AzureGovernment and use a fallback function that queries for support tickets via REST instead of a graph query. At a minimum skip this function for AzureGovernment with a note to update support tickets manually until the fallback function is implemented.

Screenshots 📷

Graphical confirmation of missing table:

Image

Additional context

Let me know if you want help putting in a PR for the proposed changes. Reach out internally via Teams if you want to discuss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions