diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.AAD.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.AAD.Create.Tests.ps1 index 78b4835a75..dbd3e9e31e 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.AAD.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.AAD.Create.Tests.ps1 @@ -742,7 +742,7 @@ try { Master -ConfigurationData $ConfigurationData -Credscredential $Credential - Start-DscConfiguration Master -Wait -Force -Verbose + Start-DscConfiguration Master -Wait -Force -Verbose -ErrorAction Stop } catch {