I am trying to add a PowerShell Private Repository in VMware Aria Automation Orchestrator 8.18.1.24266232.
I have a Fileshare on a Windows server, that hosts a PowerShell Private Repository.
This fileshare based PowerShell Repo, works fine from Windows servers (I can publish modules to it and I can get modules from it).
In Aria Orchestrator, under Environments, if I try to setup a new Repository by clicking "Manage Repositories" and then "Add Repo", I get a form to fill out:
Name
Runtime Environment (dropdown)
Location
Authentication (boolean)
Username
Password
I have filled out the form with information in the following formats:
Name = psrepotest
Runtime Environment = PowerShell 7.4
Location = \\fqdn of server\psrepotest
Authentication = true
Username = domain\username
Password = the-password
When I try to use this Private Repository in an Environment (configured to use PowerShell 7.4 as its Runtime Environment), and try to add a Dependency from the Private Repo, I get the following error messages in the "Download Logs":
2024-11-18 11:23:45.573 +01:00 INFO [Start downloading dependencies]
2024-11-18 11:23:45.574 +01:00 INFO
2024-11-18 11:23:48.463 +01:00 ERROR Register-PSRepository: Cannot find the path '\\fqdn of server\psrepotest' because it does not exist.
2024-11-18 11:23:48.546 +01:00 INFO Downloading package-name 2.0.0.0 ...
2024-11-18 11:23:51.713 +01:00 ERROR Get-PackageSource: Unable to find repository 'PrivateRepo'. Use Get-PSRepository to see all
2024-11-18 11:23:51.714 +01:00 ERROR available repositories.
2024-11-18 11:23:51.803 +01:00 INFO
2024-11-18 11:23:51.804 +01:00 INFO [Completed downloading dependencies]
So my question is, are UNC Fileshare paths even supported for PowerShell Private Repositories?