Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪲 Bug Report - Azure Gov missing SupportResources Table #91

Open
Monte-Hazboun opened this issue Feb 6, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Monte-Hazboun
Copy link

Monte-Hazboun commented Feb 6, 2025

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.

@Monte-Hazboun Monte-Hazboun added the bug Something isn't working label Feb 6, 2025
@Monte-Hazboun Monte-Hazboun changed the title 🪲 Bug Report - PLEASE CHANGE ME TO SOMETHING DESCRIPTIVE 🪲 Bug Report - Azure Gov missing SupportResources Table Feb 6, 2025
@kpoineal
Copy link
Collaborator

kpoineal commented Feb 7, 2025

Thanks @Monte-Hazboun I'll note this in our backlog and discuss with the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants