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
Issue with Get-AutomationPSCredential when installed on an Azure Automation Hybrid Worker #134
Comments
Hi Michael, |
Closing issue since the workaround should help here and I also updated the PowerShellGallery download page to let customers know they should use the -Scope CurrentUser when installing the add-on. |
I tried this but didn't work for me. |
Can you run 'Get-Module -ListAvailable | where {$_.Name -match 'AzureAutomationAuthoringToolkit'} | Format-List' and make sure that the module is only installed in the current user directory. You will need to open up a new PowerShell ISE session to make sure that existing modules are unloaded also if you already had it installed. |
The error returned, if an Asset isn't downloaded to the server while the addon is installed;
:[localhost]:AzureAutomationAuthoringToolkit: Warning - Local value for
PSCredential asset "onpremexcCred" not found
Fix is to uninstall the Addon from the Hybrid Worker. Thanks to sn0m55 for pointing it out
https://social.msdn.microsoft.com/Forums/en-US/ac204c88-7f95-48b6-8ab6-656253735aa2/getautomationpscredential-hybrid-worker?forum=azureautomation
The text was updated successfully, but these errors were encountered: