Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dmgonch opened this issue Jan 25, 2025 · 1 comment

Comments

@dmgonch
Copy link

dmgonch commented Jan 25, 2025

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

@isra-fel
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants