From 1a762f74067cc299958df139b276071ebebfe656 Mon Sep 17 00:00:00 2001 From: Kamil Nowinski Date: Thu, 20 Mar 2025 00:30:56 +0000 Subject: [PATCH 1/2] Fixed definition of RequiredModules --- azure.datafactory.tools.psd1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/azure.datafactory.tools.psd1 b/azure.datafactory.tools.psd1 index 44f9162..1a078fc 100644 --- a/azure.datafactory.tools.psd1 +++ b/azure.datafactory.tools.psd1 @@ -51,7 +51,16 @@ # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module - RequiredModules = @('Az.Resources', 'Az.DataFactory') + RequiredModules = @( + @{ + ModuleName = 'Az.Resources' + ModuleVersion = '6.5.0' + }, + { + ModuleName = 'Az.DataFactory' + ModuleVersion = '1.16.0' + } + ) # Assemblies that must be loaded prior to importing this module # RequiredAssemblies = @() From cf7abdaee2045d2ad62161da95888c5ae3d6e4bd Mon Sep 17 00:00:00 2001 From: Kamil Nowinski Date: Thu, 20 Mar 2025 00:38:19 +0000 Subject: [PATCH 2/2] Fixed definition list of RequiredModules --- azure.datafactory.tools.psd1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure.datafactory.tools.psd1 b/azure.datafactory.tools.psd1 index 1a078fc..d600efe 100644 --- a/azure.datafactory.tools.psd1 +++ b/azure.datafactory.tools.psd1 @@ -55,8 +55,8 @@ @{ ModuleName = 'Az.Resources' ModuleVersion = '6.5.0' - }, - { + }, + @{ ModuleName = 'Az.DataFactory' ModuleVersion = '1.16.0' }