Azure / Azure/Well-Architected-Reliability-Assessment
🪲 Bug Report - Azure Gov missing SupportResources Table
- Dominant language
- PowerShell
- Stars
- 48
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
## 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:
## 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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.