JustinGrote / JustinGrote/justingrote.github.io
Attempted to perform an unauthorized operation.
- Dominant language
- SCSS
- Stars
- 6
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Hi @JustinGrote ,
Thank you for a great manual!
I've been toying around with Azure Functions and Powershell. I've come as far as to install nuget and trying to install modules, which actually produced no error, but also no result. The I stumbled opun your Missing Manual. I tried save the module instrad of installing it, and got this error instead:
```powershell
2018-07-19T12:32:42.189 [Info] Installing AzureRM.Profile
2018-07-19T12:32:42.810 [Info] Using the provider 'PowerShellGet' for searching packages.
2018-07-19T12:32:42.827 [Info] The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories.
2018-07-19T12:32:42.847 [Info] Getting the provider object for the PackageManagement Provider 'NuGet'.
2018-07-19T12:32:42.847 [Info] The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'.
2018-07-19T12:32:43.555 [Info] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='AzureRM.Profile'' for ''.
2018-07-19T12:32:44.551 [Info] Total package yield:'1' for the specified package 'AzureRM.Profile'.
2018-07-19T12:32:44.597 [Info] Performing the operation "Save Package" on target "'AzureRM.profile' to location 'D:\local\UserProfile\Documents\WindowsPowershell\Modules'".
2018-07-19T12:32:44.644 [Info] The specified module will be installed in 'D:\local\UserProfile\Documents\WindowsPowershell\Modules'.
2018-07-19T12:32:44.644 [Info] The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
2018-07-19T12:32:44.663 [Info] Downloading module 'AzureRM.profile' with version '5.3.3' from the repository 'https://www.powershellgallery.com/api/v2/'.
2018-07-19T12:32:45.348 [Info] Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='AzureRM.profile'' for ''.
2018-07-19T12:32:46.008 [Info] InstallPackage' - name='AzureRM.profile', version='5.3.3',destination='D:\local\Temp\2023735142'
2018-07-19T12:32:46.028 [Info] DownloadPackage' - name='AzureRM.profile', version='5.3.3',destination='D:\local\Temp\2023735142\AzureRM.profile\AzureRM.profile.nupkg', uri='https://www.powershellgallery.com/api/v2/package/AzureRM.profile/5.3.3'
2018-07-19T12:32:46.028 [Info] Downloading 'https://www.powershellgallery.com/api/v2/package/AzureRM.profile/5.3.3'.
2018-07-19T12:32:48.274 [Info] Completed downloading 'https://www.powershellgallery.com/api/v2/package/AzureRM.profile/5.3.3'.
2018-07-19T12:32:48.274 [Info] Completed downloading 'AzureRM.profile'.
2018-07-19T12:32:48.386 [Info] Hash for package 'AzureRM.profile' does not match hash provided from the server.
2018-07-19T12:32:48.386 [Info] InstallPackageLocal' - name='AzureRM.profile', version='5.3.3',destination='D:\local\Temp\2023735142'
2018-07-19T12:32:49.196 [Info] Module 'AzureRM.profile' was saved successfully to path 'D:\local\UserProfile\Documents\WindowsPowershell\Modules\AzureRM.profile\5.3.3'.
2018-07-19T12:32:50.540 [Info] Attempted to perform an unauthorized operation.
```
Are you still able to install modules like that?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the reported Azure Functions module-install flow, including NuGet, PowerShellGet, and the Save Package operation, and try to reproduce the unauthorized-operation message. Confirm whether module installation is still supported and document the current behavior or a reproducible cause for the failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100