question

KhalidUsman-7485 avatar image
5 Votes"
KhalidUsman-7485 asked KhalidUsman-7485 commented

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

azure-ad-b2c
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FYI Seems it's working again.

2 Votes 2 ·

Same issue here... It is causing havoc on multiple clients' pipelines

1 Vote 1 ·
SameerSalunke-8097 avatar image
1 Vote"
SameerSalunke-8097 answered

Hi All,
I got confirmation from Microsoft this issue has been fixed and working now.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SethSharp avatar image
0 Votes"
SethSharp answered KhalidUsman-7485 commented

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have exactly the same issue and started 3 days ago. I hope someone will help out here

1 Vote 1 ·
jpurr-0683 avatar image
0 Votes"
jpurr-0683 answered jpurr-0683 published

We have this problem as well

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Rets-3671 avatar image
0 Votes"
Rets-3671 answered

We are also facing the same issue. @amanpreetsingh-msft Could you please help us out here? Also, I have noticed the portal is also very slow today and sometimes is not responding on IEF.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SameerSalunke-8097 avatar image
0 Votes"
SameerSalunke-8097 answered

We are also facing this issue.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SameerSalunke-8097 avatar image
1 Vote"
SameerSalunke-8097 answered SameerSalunke-8097 commented

Just got an update from Microsoft, their product group team working on it. No ETA.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Great!
How does one get in contact with product team to find out when the issue has been fix? Or just keep trying until it works again...

0 Votes 0 ·

We need to raise support ticket with Microsoft and they will provide update to you on the issue.

0 Votes 0 ·
kirillkolesnikov-3022 avatar image
0 Votes"
kirillkolesnikov-3022 answered

We are also facing the same issue

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SethSharp avatar image
0 Votes"
SethSharp answered

Still getting timeouts with this.

Any eta for a fix?

The way the environment is currently set up, I will not be able to release as only the maintenance app reg has permission to upload these files from the ADO pipeline.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PawelWasilewski-5524 avatar image
0 Votes"
PawelWasilewski-5524 answered

Same here. TrustFramework API randomly failing on requests.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JoeghanoeBhatti-4470 avatar image
0 Votes"
JoeghanoeBhatti-4470 answered

Hi also experiencing this issue and the API is unreliable at this point in time.

Getting 504 errors every so often which is not great for our CI/CD pipelines.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.