Using Rest API - Support API version "2023-12-01-preview, 2020-01-01-preview, 2017-08-01-preview"
Invoke-RestMethod:
{
"error": {
"code": "GatewayTimeout",
"message": "The gateway did not receive a response from \u0027Microsoft.Security\u0027 within the specified time period."
}
}
Expected behavior
200 ok Successful
Actual behavior
"GatewayTimeout"
Reproduction Steps
Issue is seen while enabling email notification in azure defender in portal and also using rest api
API Spec link
https://github.com/Azure/azure-rest-api-specs/tree/main/specification/security/resource-manager
API Spec version
2023-12-01-preview,2020-01-01-preview,2017-08-01-preview
Describe the bug
Error Message - In Portal
Using Rest API - Support API version "2023-12-01-preview, 2020-01-01-preview, 2017-08-01-preview"
Invoke-RestMethod:
{ "error": { "code": "GatewayTimeout", "message": "The gateway did not receive a response from \u0027Microsoft.Security\u0027 within the specified time period." } }
Expected behavior
200 ok Successful
Actual behavior
"GatewayTimeout"
Reproduction Steps
Issue is seen while enabling email notification in azure defender in portal and also using rest api
Environment
No response