From d6d074bf51c374c66e8288eaf730a4eb964b395a Mon Sep 17 00:00:00 2001 From: Emanuel Palm Date: Wed, 5 Aug 2026 09:31:21 +0200 Subject: [PATCH 1/2] fix: Update ModuleBuilder configuration: set SourcePath to 'source' and define BuiltModuleSubdirectory as 'module' --- build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.yaml b/build.yaml index 4877564..3344558 100644 --- a/build.yaml +++ b/build.yaml @@ -3,7 +3,8 @@ # ModuleBuilder Configuration # #################################################### # Path to the Module Manifest to build (where path will be resolved from) -SourcePath: ../source/AzAuth.psd1 +SourcePath: source +BuiltModuleSubdirectory: module # Output Directory where ModuleBuilder will build the Module, relative to module manifest OutputDirectory: ../../output/AzAuth # BuiltModuleSubdirectory: module From f8cff0555de0968bb1f71de83a7ed43b5fd11a4c Mon Sep 17 00:00:00 2001 From: Emanuel Palm Date: Wed, 5 Aug 2026 09:38:40 +0200 Subject: [PATCH 2/2] fix: Pin ModuleBuilder version to 3.1.8 to prevent SourcePath validation issues --- RequiredModules.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RequiredModules.psd1 b/RequiredModules.psd1 index fdbb193..d3e1407 100644 --- a/RequiredModules.psd1 +++ b/RequiredModules.psd1 @@ -10,7 +10,7 @@ InvokeBuild = 'latest' PSScriptAnalyzer = 'latest' Pester = 'latest' - ModuleBuilder = 'latest' + ModuleBuilder = '3.1.8' # pinned: 3.2+ breaks SourcePath validation for binary modules ChangelogManagement = 'latest' Sampler = 'latest' 'Sampler.GitHubTasks' = 'latest'