Azure / Azure/azvmimagebuilder
Az.ImageBuilder 0.4.2: The 'Get-AzImageBuilderTemplate' command was found in the module 'Az.ImageBuilder', but the module could not be loaded.
- Dominant language
- PowerShell
- Stars
- 111
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
With the latest 0.4.2 release of Az.ImageBuilder, Deployment Script that uses PowerShell 12.3.0 started failing with:
**The 'Get-AzImageBuilderTemplate' command was found in the module 'Az.ImageBuilder', but the module could not be loaded.**
Previous 0.4.1 didn't have this issue.
Name : Az.ImageBuilder
Version : 0.4.2
Type : Module
Description : Microsoft Azure PowerShell: ImageBuilder cmdlets
Author : Microsoft Corporation
CompanyName : azure-sdk
Copyright : Microsoft Corporation. All rights reserved.
PublishedDate : 1/14/2025 3:15:37AM
InstalledDate : 1/25/2025 9:03:03AM
UpdatedDate :
LicenseUri : https://aka.ms/azps-license
ProjectUri : https://github.com/Azure/azure-powershell
IconUri :
Tags : {Azure, ResourceManager, ARM, PSModule…}
Includes : {[Workflow, System.Object[]], [DscResource,
System.Object[]], [Function, System.Object[]],
[RoleCapability, System.Object[]]…}
PowerShellGetFormatVersion :
ReleaseNotes : * Upgraded nuget package to signed package.
Dependencies : {}
RepositorySourceLocation : https://www.powershellgallery.com/api/v2
Repository : PSGallery
PackageManagementProvider : NuGet
AdditionalMetadata : @{summary=Microsoft Azure PowerShell:
ImageBuilder cmdlets; InstalledLocation=/root/.loc
al/share/powershell/Modules/Az.ImageBuilder/0.4.2;
PackageManagementProvider=NuGet; tags=Azure
ResourceManager ARM PSModule ImageBuilder
PSEdition_Core PSEdition_Desktop;
installeddate=2025-01-25T09:03:03.8964235+00:00;
description=Microsoft Azure PowerShell:
ImageBuilder cmdlets; published=1/14/2025
3:15:37AM; SourceName=PSGallery;
copyright=Microsoft Corporation. All rights
reserved.; Type=Module; releaseNotes=* Upgraded
nuget package to signed package.;
IsPrerelease=False}
InstalledLocation : /root/.local/share/powershell/Modules/Az.ImageBuil
der/0.4.2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure in the Deployment Script with PowerShell 12.3.0 and Az.ImageBuilder 0.4.2, then compare module loading with version 0.4.1. Inspect the Az.ImageBuilder package and its signed-package upgrade noted in the release notes; done means Get-AzImageBuilderTemplate loads successfully in the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100