microsoft / Microsoft365DSC

Manages, configures, extracts and monitors Microsoft 365 tenant configurations
https://aka.ms/M365DSC
MIT License
1.64k stars 504 forks source link

Version 1.24.214.2 Has a slow execution rate causing Azure DevOps agents to time-out #4344

Open DennisLangenberg opened 9 months ago

DennisLangenberg commented 9 months ago

Description of the issue

We utilise azure devOps pipelines with microsoft hosted agents for checking the blueprints against current configuration. We have the Development environments always running latest and Production Last known good ;). We found that the same script that normally runs 5 min now exceeds the 60 min runtime. Installation goes good and within expected time it's the extraction phase of the values that is taking way longer that normal.

Microsoft 365 DSC Version

1.24.214.2

Which workloads are affected

Office 365 Admin

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

Azure Hosted Agent, Certificate authentication

ykuijs commented 9 months ago

Hi @DennisLangenberg, can you share the script/config that you are using so we can trace where this added delay is coming from?

andikrueger commented 9 months ago

Is there a chance, that this one is related to the Graph PowerShell SDK issues with response headers? See #4341