Skip to content

Error when importing AzPreview v14.0.0 module #27857

Closed
@mikefrobbins

Description

@mikefrobbins

Description

The following errors are returned when importing the AzPreview module (Import-Module -Name AzPreview):

  • The specified module 'Az.Pinecone' with version '0.1.0' was not loaded because no valid module file was found in any module directory.
  • The specified module 'Az.WeightsAndBiases' with version '0.1.0' was not loaded because no valid module file was found in any module directory.

Issue script & Debug output

The AzPreview.psm1 file tries to import modules which were not installed because they're not available from the PowerShell Gallery:
- Import-Module Az.Pinecone -RequiredVersion 0.1.0 -Global
- Import-Module Az.WeightsAndBiases -RequiredVersion 0.1.0 -Global

Environment data

Major  Minor  Patch  PreReleaseLabel BuildLabel
-----  -----  -----  --------------- ----------
7      5      1

Module versions

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     14.0.0                AzPreview                           Core,Desk

Error output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Possible-SolutionSimilar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions