Privates PSRepository in AzureDevOps - Registrierung schlägt auf (manchen) Clients fehl

%3CLINGO-SUB%20id%3D%22lingo-sub-3364565%22%20slang%3D%22de-DE%22%3EPrivate%20PSRepository%20in%20AzureDevOps%20-%20Registration%20fails%20on%20(some)%20clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3364565%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%20everyone%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20on%20installing%20a%20private%20Powershell%20module%20on%20different%20devices.%20For%20this%20purpose%2C%20we%20have%20created%20a%20corresponding%20feed%20in%20an%20AzureDevOps%20project%2C%20including%20users%20for%20authentication.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20far%20so%20good%2C%20on%20most%20devices%20the%20deployment%20also%20works.%20However%2C%20I%20have%20some%20devices%20on%20which%20the%20command%20%3CEM%3ERegister-PSRepository%3C%2FEM%3E%20fails.%20This%20primarily%20%3CSTRONG%3Eaffects%20Windows%20Server%202012%20R2%20Standard%20with%20Exchange%20installed%20locally%3C%2FSTRONG%3E%20(with%20a%20few%20individual%20exceptions).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAffected%20Clients%20(Current%20Status)%3C%2FP%3E%3CUL%3E%3CLI%3EOS%3A%20Windows%20Server%202012%20R2%20Standard%3C%2FLI%3E%3CLI%3ERole%3A%20Exchange%20Server%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CBR%20%2F%3EWhat%20we%20have%20done%20so%20far%3A%3C%2FP%3E%3CUL%3E%3CLI%3EEnsure%20tls1.2%20is%20used%3C%2FLI%3E%3CLI%3EFirewall%20Traffic%20(request%20goes%20through)%3C%2FLI%3E%3CLI%3ESecurity%20settings%20in%20IE%20checked%20for%20TLS%20settings%20(All%20correct).%3C%2FLI%3E%3CLI%3ESolution%20from%3A%20%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F35296482%2Finvalid-web-uri-error-on-register-psrepository%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Epowershell%20-%20Invalid%20Web%20Uri%20error%20on%20Register-PSRepository%20-%20Stack%20Overflow%3C%2FA%3E%3CUL%3E%3CLI%3Eregistration%20then%20works%20but%20the%20module%20cannot%20be%20installed%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENevertheless%2C%20I%20still%20get%20the%20following%20error%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3ERegister-PSRepository%3A%20The%20specified%20Uri%20'XXXXXX'%20for%20parameter%20'SourceLocation'%20is%20an%20invalid%20Web%20Uri.%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20Wireshark%2C%20we%20took%20a%20close%20look%20at%20the%20traffic%20and%20were%20able%20to%20see%20that%20the%20request%20is%20resetted%20by%20the%20server%20(RST%20flag).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunately%2C%20we%20are%20currently%20not%20getting%20any%20further%20here.%20Maybe%20someone%20has%20an%20idea%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hallo zusammen,

 

ich arbeite gerade daran, ein privates Powershell Modul auf verschiedene Geräte zu installieren. Dafür haben wir in einem AzureDevOps Projekt einen entsprechenden Feed angelegt, inklusive Benutzer für die Authentifizierung.

Soweit so gut, auf den meisten Geräten funktioniert das Deployment auch. Allerdings habe ich einige Endgeräte auf denen der Befehl Register-PSRepository fehlschlägt. Das betrifft in erster Linie Windows Server 2012 R2 Standard mit lokal installierten Exchange (mit paar einzelnen Ausnahmen). 

 

Betroffene Clients (Aktueller Stand)

  • OS: Windows Server 2012 R2 Standard
  • Rolle: Exchange-Server


Was wir bisher getan haben:

 

Trotzdem bekomme ich nach wie vor folgenden Fehler:

Register-PSRepository: The specified Uri 'XXXXXX' for parameter 'SourceLocation' is an invalid Web Uri.

 

Per Wireshark haben wir uns den Traffic genau angeschaut und konnten erkennen, dass die Anfrage vom Server resetted wird (RST Flag).

 

Leider kommen wir hier aktuell nicht weiter. Eventuell hat jemand eine Idee?  

0 Replies