Hi All,
I got confirmation from Microsoft this issue has been fixed and working now.
Azure Directory B2C Custom Policy DevOps (504) Gateway Timeout
Hi,
I have AD B2C custom ploicy release pipeline in Azure DevOps. Everythig was working fine but recentlty my pipeline is failing due to (504) Gateway Timeout.
The error I'm getting is below;
Invoke-RestMethod : The remote server returned an error: (504) Gateway Timeout.
At D:\a\1\s\custom-scripts\custom-policies-test-deployment-script.ps1:50 char:17
- ... $response = Invoke-RestMethod -Uri $graphuri -Method Put -Body $polic ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption - FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
-
Sameer Salunke 91 Reputation points
2022-05-26T17:09:06.533+00:00
13 additional answers
Sort by: Most helpful
-
Nelum Weerakoon 11 Reputation points
2022-05-20T02:32:24.203+00:00 We are also facing the same. Do we have any updates on a solution?
-
Sameer Salunke 91 Reputation points
2022-05-16T22:47:38.013+00:00 Just got an update from Microsoft, their product group team working on it. No ETA.
-
SethSharp 26 Reputation points
2022-05-13T11:48:46.537+00:00 I am also experiencing the same issue with the custom policy upload powershell task.
When I run this script locally it is very intermittent, frequent 504 timeouts and occasional successful policy uploads.
In the release pipeline it always gives the 504 error. It was working before without issue. Started seeing error, when trying to deploy yesterday.
-
j.purr 1 Reputation point
2022-05-13T17:47:27.56+00:00 We have this problem as well