Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.ps1 - Compiling Artifacts failed #2

Open
milkaohnil opened this issue Nov 27, 2024 · 0 comments
Open

build.ps1 - Compiling Artifacts failed #2

milkaohnil opened this issue Nov 27, 2024 · 0 comments

Comments

@milkaohnil
Copy link

Currently when i'm compiling my Configuration, I'm facing an error, which fails the building pipeline:
System.Collections.Hashtable
2024-11-27 21:12:57 [FAILURE] Build.ps1: [ERROR] Error occurred during MOF compilation
2024-11-27 21:12:57 [FAILURE] Build.ps1: Error: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: You cannot call a method on a null-valued expression.
2024-11-27 21:12:57 [FAILURE] Build.ps1: [001] Error message: You cannot call a method on a null-valued expression.
2024-11-27 21:12:57 [FAILURE] Build.ps1: [001] StackTrace: at , C:\Program Files\WindowsPowerShell\Modules\M365DSC.CompositeResources\1.24.1016.100\DSCResources\AzureAD\AzureAD.schema.psm1: line 37
| at Configuration, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1: line 2232
| at , C:\Program Files\WindowsPowerShell\Modules\M365DSC.CompositeResources\1.24.1016.100\DSCResources\AzureAD\AzureAD.schema.psm1: line 2
| at , D:\a\1\s\CICD\Scripts\M365Configuration.ps1: line 49
| at Node, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1: line 1026
| at , D:\a\1\s\CICD\Scripts\M365Configuration.ps1: line 5
| at Configuration, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1: line 2232
| at , D:\a\1\s\CICD\Scripts\M365Configuration.ps1: line 1
| at , D:\a\1\s\CICD\Scripts\Build.ps1: line 110
| at , D:\a_temp\ac697694-8945-43ce-a056-2714a056bb3f.ps1: line 4
| at , : line 1
2024-11-27 21:12:57 [FAILURE] Build.ps1: [002] Error message: Exception calling "InvokeWithContext" with "2" argument(s): "You cannot call a method on a null-valued expression."
2024-11-27 21:12:57 [FAILURE] Build.ps1: [002] StackTrace: at Configuration, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1: line 2232
| at , C:\Program Files\WindowsPowerShell\Modules\M365DSC.CompositeResources\1.24.1016.100\DSCResources\AzureAD\AzureAD.schema.psm1: line 2
| at , D:\a\1\s\CICD\Scripts\M365Configuration.ps1: line 49
| at Node, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1: line 1026
| at , D:\a\1\s\CICD\Scripts\M365Configuration.ps1: line 5
| at Configuration, C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1: line 2232
| at , D:\a\1\s\CICD\Scripts\M365Configuration.ps1: line 1
| at , D:\a\1\s\CICD\Scripts\Build.ps1: line 110
| at , D:\a_temp\ac697694-8945-43ce-a056-2714a056bb3f.ps1: line 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant