Fabian Franz Steiner

Results 13 comments of Fabian Franz Steiner

Unfourtunatley the same issue still exists in PowerShell 7.3.4 and Jenkins: code: ```powershell "Retrieving all expired AD user accounts that are enabled ..." | Add-LogToFile -filename $fileName -level INFO $debug...

@SydneyhSmith I meant that the current template should be extended to also include ".OUTPUT". So it is also possible to always add the whole template (because this should also contain...

The issue persists with the new version of graph (2.12.0) and PNP 2.3.0, could you please fix this issue? otherwise people are forced to work with the old PNP version...

> Oils you share the outcome of get-DscResource for this resource? What do you mean by "Oils you share"? @andikrueger

As I rolled back the server (need a working version for prod), I can only provide the output from my own machine: `Get-DscResource EXOSharedMailbox ` ``` ImplementationDetail : ScriptBased ResourceType...

I just ran it interactively in Powershell 7 - works fine, when I launch it from Jenkins it does not find the resource - very curious.

Ahhh I found the issue: works fine: `Invoke-DscResource @sharedMailboxConfig -Method Set` throws the mentioned error: `$state = Invoke-DscResource @sharedMailboxConfig -Method Test` can you replicate that? @NikCharlebois

Seems to happen with other resources as well: ![image](https://github.com/microsoft/Microsoft365DSC/assets/75947402/2d86cf15-3ad9-4ae4-a0a5-0a734fbbc9f2)

seems this occurs when Invoke-DscResource is run multiple times

Temporary Workaround: run every single command in a child job, to have a new context everytime