Skip to content

When installing a specific version of a module higher version of dependent modules are installed. #1533

Closed
@arqgroup-adamillingworth

Description

In an attempt to role back to use 1.11.1 of Microsoft.Graph.Users, Microsoft.Graph.Groups, Microsoft.Graph.Identity.SignIns, Microsoft.Graph.Identity.DirectoryManagement to work around issues introduced with 1.12.0 and 1.12.1 the higher version of Microsoft.Graph.Authentication is be installed as a dependency. Pre-installing Microsoft.Graph.Authentication version 1.11.1 does not prevent this from occurring.

Install-Module -Name Microsoft.Graph.Authentication -RequiredVersion 1.11.1
Install-Module -Name Microsoft.Graph.Users -RequiredVersion 1.11.1

2022-09-23T02:05:21.0900955Z VERBOSE: Using the provider 'PowerShellGet' for searching packages.
2022-09-23T02:05:21.1056912Z VERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories.
2022-09-23T02:05:21.1066412Z VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
2022-09-23T02:05:21.1072721Z VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
2022-09-23T02:05:21.1172881Z VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft.Graph.Users''
2022-09-23T02:05:21.1173730Z for ''.
2022-09-23T02:05:22.0987514Z VERBOSE: Total package yield:'1' for the specified package 'Microsoft.Graph.Users'.
2022-09-23T02:05:22.7415174Z VERBOSE: The installation scope is specified to be 'CurrentUser'.
2022-09-23T02:05:22.7436222Z VERBOSE: The specified module will be installed in 'C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules'.
2022-09-23T02:05:22.8327813Z VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
2022-09-23T02:05:22.8370127Z VERBOSE: Downloading module 'Microsoft.Graph.Users' with version '1.11.1' from the repository
2022-09-23T02:05:22.8372093Z 'https://www.powershellgallery.com/api/v2'.
2022-09-23T02:05:23.5510954Z VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft.Graph.Users''
2022-09-23T02:05:23.5511642Z for ''.
2022-09-23T02:05:24.2933614Z VERBOSE: Searching repository
2022-09-23T02:05:24.2934640Z 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft.Graph.Authentication'' for ''.
2022-09-23T02:05:24.7002957Z VERBOSE: InstallPackage' - name='Microsoft.Graph.Authentication',
2022-09-23T02:05:24.7003671Z version='1.12.1',destination='C:\Users\VssAdministrator\AppData\Local\Temp\1457392435'
2022-09-23T02:05:24.7012889Z VERBOSE: DownloadPackage' - name='Microsoft.Graph.Authentication',
2022-09-23T02:05:24.7014186Z version='1.12.1',destination='C:\Users\VssAdministrator\AppData\Local\Temp\1457392435\Microsoft.Graph.Authentication.1.
2022-09-23T02:05:24.7014891Z 12.1\Microsoft.Graph.Authentication.1.12.1.nupkg',
2022-09-23T02:05:24.7015932Z uri='https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Authentication/1.12.1'
2022-09-23T02:05:24.7023483Z VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Authentication/1.12.1'.
2022-09-23T02:05:25.2790313Z VERBOSE: Completed downloading
2022-09-23T02:05:25.2791170Z 'https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Authentication/1.12.1'.
2022-09-23T02:05:25.2803677Z VERBOSE: Completed downloading 'Microsoft.Graph.Authentication'.
2022-09-23T02:05:25.3223896Z VERBOSE: Hash for package 'Microsoft.Graph.Authentication' does not match hash provided from the server.
2022-09-23T02:05:25.3232152Z VERBOSE: InstallPackageLocal' - name='Microsoft.Graph.Authentication',
2022-09-23T02:05:25.3236722Z version='1.12.1',destination='C:\Users\VssAdministrator\AppData\Local\Temp\1457392435'

2022-09-23T02:05:26.1400317Z VERBOSE: InstallPackage' - name='Microsoft.Graph.Users',
2022-09-23T02:05:26.1401605Z version='1.11.1',destination='C:\Users\VssAdministrator\AppData\Local\Temp\1457392435'
2022-09-23T02:05:26.1410025Z VERBOSE: DownloadPackage' - name='Microsoft.Graph.Users',
2022-09-23T02:05:26.1410736Z version='1.11.1',destination='C:\Users\VssAdministrator\AppData\Local\Temp\1457392435\Microsoft.Graph.Users.1.11.1\Micr
2022-09-23T02:05:26.1411429Z osoft.Graph.Users.1.11.1.nupkg', uri='https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Users/1.11.1'
2022-09-23T02:05:26.1418348Z VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Users/1.11.1'.
2022-09-23T02:05:26.6120201Z VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Users/1.11.1'.
2022-09-23T02:05:26.6125910Z VERBOSE: Completed downloading 'Microsoft.Graph.Users'.
2022-09-23T02:05:26.7041010Z VERBOSE: Hash for package 'Microsoft.Graph.Users' does not match hash provided from the server.
2022-09-23T02:05:26.7053565Z VERBOSE: InstallPackageLocal' - name='Microsoft.Graph.Users',
2022-09-23T02:05:26.7054352Z version='1.11.1',destination='C:\Users\VssAdministrator\AppData\Local\Temp\1457392435'
2022-09-23T02:05:27.0264513Z VERBOSE: Validating the 'Microsoft.Graph.Authentication' module contents under
2022-09-23T02:05:27.0266512Z 'C:\Users\VssAdministrator\AppData\Local\Temp\1457392435\Microsoft.Graph.Authentication.1.12.1' path.
2022-09-23T02:05:27.0279282Z VERBOSE: Test-ModuleManifest successfully validated the module manifest file
2022-09-23T02:05:27.0279980Z 'C:\Users\VssAdministrator\AppData\Local\Temp\1457392435\Microsoft.Graph.Authentication.1.12.1'.
2022-09-23T02:05:27.0309477Z VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module
2022-09-23T02:05:27.0361079Z 'Microsoft.Graph.Authentication'.
2022-09-23T02:05:28.3766870Z VERBOSE: Catalog file 'Microsoft.Graph.Authentication.cat' is not found in the contents of the module
2022-09-23T02:05:28.3793716Z 'Microsoft.Graph.Authentication' being installed.
2022-09-23T02:05:28.3975499Z VERBOSE: For publisher validation, current module 'Microsoft.Graph.Authentication' with version '1.12.1' with publisher
2022-09-23T02:05:28.4009457Z name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.
2022-09-23T02:05:28.4019506Z VERBOSE: For publisher validation, using the previously-installed module 'Microsoft.Graph.Authentication' with version
2022-09-23T02:05:28.4020441Z '1.11.1' under 'C:\Program Files\WindowsPowerShell\Modules\Microsoft.Graph.Authentication\1.11.1' with publisher name
2022-09-23T02:05:28.4028042Z '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.
2022-09-23T02:05:28.4053114Z VERBOSE: Checking for possible command collisions for the module 'Microsoft.Graph.Authentication' commands.
2022-09-23T02:05:28.4363957Z VERBOSE: Installing the dependency module 'Microsoft.Graph.Authentication' with version '1.12.1' for the module
2022-09-23T02:05:28.4365170Z 'Microsoft.Graph.Users'.
2022-09-23T02:05:29.2497489Z VERBOSE: Module 'Microsoft.Graph.Authentication' was installed successfully to path
2022-09-23T02:05:29.2499072Z 'C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Authentication\1.12.1'.
2022-09-23T02:05:29.2690971Z VERBOSE: Validating the 'Microsoft.Graph.Users' module contents under
2022-09-23T02:05:29.2692180Z 'C:\Users\VssAdministrator\AppData\Local\Temp\1457392435\Microsoft.Graph.Users.1.11.1' path.
2022-09-23T02:05:29.3262170Z VERBOSE: Test-ModuleManifest successfully validated the module manifest file
2022-09-23T02:05:29.3524274Z 'C:\Users\VssAdministrator\AppData\Local\Temp\1457392435\Microsoft.Graph.Users.1.11.1'.
2022-09-23T02:05:29.3532646Z VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module
2022-09-23T02:05:29.3534160Z 'Microsoft.Graph.Users'.
2022-09-23T02:05:29.4217054Z VERBOSE: Catalog file 'Microsoft.Graph.Users.cat' is not found in the contents of the module 'Microsoft.Graph.Users'
2022-09-23T02:05:29.4217984Z being installed.
2022-09-23T02:05:29.4271574Z VERBOSE: For publisher validation, current module 'Microsoft.Graph.Users' with version '1.11.1' with publisher name ''
2022-09-23T02:05:29.4272305Z from root certificate authority ''. Is this module signed by Microsoft: 'False'.
2022-09-23T02:05:29.4293204Z VERBOSE: For publisher validation, using the previously-installed module 'Microsoft.Graph.Users' with version '1.11.1'
2022-09-23T02:05:29.4294004Z under 'C:\Program Files\WindowsPowerShell\Modules\Microsoft.Graph.Users\1.11.1' with publisher name '' from root
2022-09-23T02:05:29.4294596Z certificate authority ''. Is this module signed by Microsoft: 'False'.
2022-09-23T02:05:29.4313022Z VERBOSE: Checking for possible command collisions for the module 'Microsoft.Graph.Users' commands.
2022-09-23T02:05:30.4498426Z VERBOSE: Module 'Microsoft.Graph.Users' was installed successfully to path
2022-09-23T02:05:30.4504610Z 'C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Users\1.11.1'.

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