Share via

Orchestrator 2022 UR2 - WebConsole multiple credential input request

Alexander Krenz 0 Reputation points
2023-12-08T12:18:43.98+00:00

Hello, I have a completely fresh installation of Orchestrator 2022 with UR2. When I call up the web console, I am asked to enter the password several times. Even if I enter it several times, nothing is displayed in the webconsole. Does anyone have a solution to this problem?

User's image

System Center Orchestrator
System Center Orchestrator

A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Stefan Horz 3,551 Reputation points
    2023-12-08T12:53:04.4866667+00:00

    Hi @Alexander Krenz ,

    I noticed that in a customer environment the file "C:\Program Files\Microsoft System Center\Orchestrator\WebApi\web.config" was overwritten at the time UR2 was installed.

    Perhaps you can recover this file from backup (?).

    The content should look like this:

    <?xml version="1.0" encoding="utf-8"?> <configuration>   <location path="." inheritInChildApplications="false">     <system.webServer>       <cors enabled="true" failUnlistedOrigins="true">         <add allowCredentials="true" maxAge="7200" origin="http://localhost:82">           <allowMethods>             <add method="GET"/>             <add method="PUT"/>             <add method="POST"/>             <add method="PATCH"/>             <add method="DELETE"/>           </allowMethods>           <allowHeaders allowAllRequestedHeaders="true"/>         </add>         <add allowCredentials="true" maxAge="7200" origin="http://sco2022:82">           <allowMethods>             <add method="GET"/>             <add method="PUT"/>             <add method="POST"/>             <add method="PATCH"/>             <add method="DELETE"/>           </allowMethods>           <allowHeaders allowAllRequestedHeaders="true"/>         </add>       </cors>       <handlers>         <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified"/>       </handlers>       <aspNetCore processPath="dotnet" arguments=".\Orchestrator.WebApi.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess">         <environmentVariables>           <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Production"/>         <environmentVariable name="Database__Database" value="Orchestrator"/><environmentVariable name="Database__Address" value="SCO2022\SC2022"/><environmentVariable name="Database__Trusted_Connection" value="true"/></environmentVariables>       </aspNetCore>     </system.webServer>   </location> </configuration> <!--ProjectGuid: 2b28e03a-bff3-4fa9-98ee-fd2db7d151d6--> 
    

    In line "<add allowCredentials="true" maxAge="7200" origin="http://localhost:82">" "origin="http://localhost:82"" was missing and another XML-Node like "<add allowCredentials="true" maxAge="7200" origin="http://YourHostnameHere:82">"

    Regards

    Stefan

    1 person found this answer helpful.
    0 comments No comments

  2. Alexander Krenz 0 Reputation points
    2023-12-11T08:01:16.54+00:00

    Hi @Stefan Horz ,

    the line <add allowCredentials="true" maxAge="7200" origin="http://YourHostnameHere:82">" exists trough the UR2 updated web.config file.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.