Skip to content

Az.ImageBuilder 0.4.2: The 'Get-AzImageBuilderTemplate' command was found in the module 'Az.ImageBuilder', but the module could not be loaded. #64

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

Activity

  1. isra-fel commented on Feb 13, 2025

    @isra-fel
    Member

    Please make sure you install the latest Az.Accounts and uninstall any previous versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions