You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Export-M365DSCConfiguration within Azure Run Books, there is an error about the call to the local configuration manager. This should not happen, as there is a already code to prevent this call. Anyhow, the variable used, to differentiate Azure Automation form other scenarios is hardcoded and set to $false
When running
Export-M365DSCConfiguration
within Azure Run Books, there is an error about the call to the local configuration manager. This should not happen, as there is a already code to prevent this call. Anyhow, the variable used, to differentiate Azure Automation form other scenarios is hardcoded and set to $falseMicrosoft365DSC/Modules/Microsoft365DSC/Modules/M365DSCReverse.psm1
Line 277 in 4dcf59d
This variable gets no other assignment afterwards.
This assignment should be change to something like this:
see: https://stackoverflow.com/questions/37224874/what-is-the-correct-way-to-detect-whether-a-script-is-running-in-azure-automatio
The text was updated successfully, but these errors were encountered: