Closed strat-alex closed 2 years ago
Thanks @alexv-be are you running Find-PSResource on a particular module? Could you also provide the verbose output please? Could you please also try Invoke-WebRequest (uri) -Credential (Get-Secret your cred) and let us know the status code? Thanks!
As meticulous as I did my testing, I must've made a copy paste error somehow. I refreshed my PAT, just to be sure. Re-registered it. And all is working fine now.
The old commands are gone now as well, so no messing up with install-module or something else anymore. I'll be rolling this out in my team this week. Thank you for following up!
@alexv-be we'd love to hear how this goes for you and your team. If there's any feedback or suggestions, feel free to open a new issue!
No real issues found. Everything went smooth. People were a bit concerned about documentation still using the old version commands. And the lack of wildcard searching.
But that was about it. good job!
We still need to work on creating new documentation tagging @SydneyhSmith here so we can discuss when we want to prioritize that. Unfortunately the lack of wildcard searching has to do with the apis that are implemented for the Azure artifacts repo. We're trying to think of ways we can get around those limitations. Tagging @anamnavi here since she's done a lot of investigating here.
Prerequisites
Steps to reproduce
I fail to successfully search for packages from my azure devops artifacts repo. Somehow it worked for a minute, but upon trying how the Install-Module commands would interact/mix with the Install-PSResource commands, things started to go nuts and I cannot recreate a working environment. I have also set up a new clean win11 vm on Azure, just to make sure there is no residual config on my machine. But alas, same result. I must be missing something.
The steps I took were:
On the clean VM I hit a little snag here, easily fixed.
Then I could continue:
I also tried with the V2 repo:
For completeness sake, I also tried with the old style credentials, that was necessary in the V2:
The PSResourceRepository.Xml file looks fine to me:
Expected behavior
Actual behavior
Error details
No response
Environment data