You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Run Start-WaraCollector against an Azure Government tenant.
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.
The text was updated successfully, but these errors were encountered:
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:
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.
The text was updated successfully, but these errors were encountered: