0
PackageManagement\Install-Package : Access to the cloud file is denied
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:9711 char:34
+ ... talledPackages = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallP
   ackage

I have an issue trying to install the Sitecore Azure Binder. Would anyone know how do I overcome this? I was having an issue with my account but it got fixed - I was removed from certain group thus I can't access the Nuget (where I get all the necessary file/feed). Anyway, I tried to update my powershellget to latest (removed the old one 1.0.0.1) but I still have the same issue. Access to the cloud file is denied.

Here is the verbose info:

VERBOSE: Acquiring providers for assembly: C:\Program Files\WindowsPowerShell\Modules\PackageManagement\1.4.7\fullclr\Microsoft.PackageManagement.MsuProvider.dll           VERBOSE: Acquiring providers for assembly: C:\Program Files\WindowsPowerShell\Modules\PackageManagement\1.4.7\fullclr\Microsoft.PackageManagement.CoreProviders.dll
VERBOSE: Acquiring providers for assembly: C:\Program
Files\WindowsPowerShell\Modules\PackageManagement\1.4.7\fullclr\Microsoft.PackageManagement.MetaProvider.PowerShell.dll
VERBOSE: Acquiring providers for assembly: C:\Program Files\WindowsPowerShell\Modules\PackageManagement\1.4.7\fullclr\Microsoft.PackageManagement.ArchiverProviders.dll
VERBOSE: Acquiring providers for assembly: C:\Program Files\WindowsPowerShell\Modules\PackageManagement\1.4.7\fullclr\Microsoft.PackageManagement.MsiProvider.dll
VERBOSE: Acquiring providers for assembly: C:\Program Files\WindowsPowerShell\Modules\PackageManagement\1.4.7\fullclr\Microsoft.PackageManagement.NuGetProvider.dll
VERBOSE: Repository details, Name = 'SitecoreGallery', Location = 'http://nuget1dk1:8181/nuget/Sitecore_Gallery/'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'SitecoreGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'http://nuget1dk1:8181/nuget/Sitecore_Gallery/' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'http://nuget1dk1:8181/nuget/Sitecore_Gallery/FindPackagesById()?id='SitecoreAzure.Binder'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'SitecoreAzure.Binder'.
VERBOSE: Performing the operation "Install-Module" on target "Version '3.1.25' of module 'SitecoreAzure.Binder'".
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'C:\Users\nua\OneDrive - Sitecore\Documents\WindowsPowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'SitecoreAzure.Binder' with version '3.1.25' from the repository 'http://nuget1dk1:8181/nuget/Sitecore_Gallery/'.
VERBOSE: Searching repository 'http://nuget1dk1:8181/nuget/Sitecore_Gallery/FindPackagesById()?id='SitecoreAzure.Binder'' for ''.
VERBOSE: InstallPackage' - name='SitecoreAzure.Binder', version='3.1.25',destination='C:\Users\nua\AppData\Local\Temp\1713623225'
VERBOSE: DownloadPackage' - name='SitecoreAzure.Binder',
version='3.1.25',destination='C:\Users\nua\AppData\Local\Temp\1713623225\SitecoreAzure.Binder.3.1.25\SitecoreAzure.Binder.3.1.25.nupkg',
uri='http://nuget1dk1:8181/nuget/Sitecore_Gallery/package/SitecoreAzure.Binder/3.1.25'
VERBOSE: Downloading 'http://nuget1dk1:8181/nuget/Sitecore_Gallery/package/SitecoreAzure.Binder/3.1.25'.
VERBOSE: Completed downloading 'http://nuget1dk1:8181/nuget/Sitecore_Gallery/package/SitecoreAzure.Binder/3.1.25'.
VERBOSE: Completed downloading 'SitecoreAzure.Binder'.
VERBOSE: Hash for package 'SitecoreAzure.Binder' does not match hash provided from the server.
VERBOSE: InstallPackageLocal' - name='SitecoreAzure.Binder', version='3.1.25',destination='C:\Users\nua\AppData\Local\Temp\1713623225'
VERBOSE: Validating the 'SitecoreAzure.Binder' module contents under 'C:\Users\nua\AppData\Local\Temp\1713623225\SitecoreAzure.Binder.3.1.25' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\nua\AppData\Local\Temp\1713623225\SitecoreAzure.Binder.3.1.25'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'SitecoreAzure.Binder'.
VERBOSE: Skipping the Publisher check for the version '3.1.25' of module 'SitecoreAzure.Binder'.
VERBOSE: Checking for possible command collisions for the module 'SitecoreAzure.Binder' commands.

Thank you for any help you could give.

1
  • The issue is probably that you try to install it inside a folder that is synced via Microsoft OneDrive. Have you tried to install it to another folder outside of OneDrive? Jun 24, 2021 at 13:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.