Open fmms opened 1 year ago
Describe the bug At the beginning I did not have Az:Resources installed.
Az:Resources
As a result I got
Finished deploying object: [IntegrationRuntime].[ir-shir-onprem] New-AzResource : InputIsMalformedDetailed : Input is malformed. Reason: Could not get integration runtime details for ir-shir-onprem CorrelationId: e4943009-7a4b-4673-b034-750a8e533318 In \\mnzfs100\Users-Ext$\xmoell46\WindowsPowerShell\Modules\azure.datafactory.tools\1.5.0\private\Deploy-AdfObjectOnly.ps1:134 Zeichen:13 + New-AzResource ` + ~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [New-AzResource], ErrorResponseMessageException + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceCmdlet
many times.
To Reproduce Your script to reproduce the behaviour:
Publish-AdfV2FromJson -RootFolder "." -ResourceGroupName "rg-gamdwh-prod-001" -DataFactoryName "df-gamdwh-ingest-prod" -Location "West Europe"
Expected behaviour An error message appears that I should install Az.Resources
Az.Resources
Screenshots If applicable, add screenshots to help explain your problem.
Version of PowerShell module of:
PS C:\df-gamdwh-ingest-fm> $PSVersionTable Name Value ---- ----- PSVersion 5.1.14393.5582 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.14393.5582 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 PS C:\df-gamdwh-ingest-fm> Get-Module Azure.datafactory.tools ModuleType Version Name ExportedCommands ---------- ------- ---- ---------------- Script 1.5.0 azure.datafactory.tools {Export-AdfToArmTemplate, Get-AdfDocDiagram, Get-AdfFromService, Import-AdfFromFolder...}
Provide all files to reproduce the issue
https://stackoverflow.com/questions/46216038/how-do-i-define-requiredmodules-in-a-powershell-module-manifest-psd1 or simple:
Get-Command "Set-AzStorageBlobContent1" Get-Command "New-AzResource"
Describe the bug At the beginning I did not have
Az:Resources
installed.As a result I got
many times.
To Reproduce Your script to reproduce the behaviour:
Expected behaviour An error message appears that I should install
Az.Resources
Screenshots If applicable, add screenshots to help explain your problem.
Version of PowerShell module of:
Provide all files to reproduce the issue