<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ILO5 Connection with Powershell - The remote server returned an error: (401) Unauthorized. in Servers - General</title>
    <link>https://community.hpe.com/t5/servers-general/ilo5-connection-with-powershell-the-remote-server-returned-an/m-p/7186023#M18339</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;We have stored a different administrator password on the ILO for each server.&lt;BR /&gt;Then we added an AD group to ILO for users who are allowed to administrate the server.&lt;BR /&gt;Now I wanted to update all servers to the latest ILO version with Powershell.&lt;/P&gt;&lt;P&gt;I notice that I can't log on to the ILO with the AD accounts with the Powershell, with the onboard administrator it works without any problems.&lt;BR /&gt;I can access the web interface with the AD user.&amp;nbsp;With Powershell I get the following message:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;The remote server returned an error: (401) Unauthorized.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;Has anyone seen this? Or do I have to specifically authorize the AD users? In the ILO under Administration, the AD users have the same rights as the administrator. Are there hidden rights for CLI?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 00:46:26 GMT</pubDate>
    <dc:creator>erki72</dc:creator>
    <dc:date>2023-04-19T00:46:26Z</dc:date>
    <item>
      <title>ILO5 Connection with Powershell - The remote server returned an error: (401) Unauthorized.</title>
      <link>https://community.hpe.com/t5/servers-general/ilo5-connection-with-powershell-the-remote-server-returned-an/m-p/7186023#M18339</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;We have stored a different administrator password on the ILO for each server.&lt;BR /&gt;Then we added an AD group to ILO for users who are allowed to administrate the server.&lt;BR /&gt;Now I wanted to update all servers to the latest ILO version with Powershell.&lt;/P&gt;&lt;P&gt;I notice that I can't log on to the ILO with the AD accounts with the Powershell, with the onboard administrator it works without any problems.&lt;BR /&gt;I can access the web interface with the AD user.&amp;nbsp;With Powershell I get the following message:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;The remote server returned an error: (401) Unauthorized.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;Has anyone seen this? Or do I have to specifically authorize the AD users? In the ILO under Administration, the AD users have the same rights as the administrator. Are there hidden rights for CLI?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 00:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/ilo5-connection-with-powershell-the-remote-server-returned-an/m-p/7186023#M18339</guid>
      <dc:creator>erki72</dc:creator>
      <dc:date>2023-04-19T00:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: ILO5 Connection with Powershell - The remote server returned an error: (401) Unauthori</title>
      <link>https://community.hpe.com/t5/servers-general/ilo5-connection-with-powershell-the-remote-server-returned-an/m-p/7186387#M18387</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1604515"&gt;@erki72&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like the issue may be related to authentication and authorization. It's possible that the AD group you added to the ILO does not have the necessary permissions to access the ILO via PowerShell.&lt;/P&gt;&lt;P&gt;Here are a few things you can try:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Check the credentials you're using to authenticate to the ILO. Make sure that the AD group you added has the necessary permissions to access the ILO via PowerShell.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Make sure that the PowerShell script you're running is being executed with the necessary permissions. You may need to run the script as an administrator or as a member of the appropriate security group.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Check the ILO's logs to see if there are any errors or warnings related to authentication or authorization.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Check the ILO's settings to make sure that the CLI interface is enabled and that the AD group you added has the necessary permissions to access the CLI.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If none of these solutions work, you may need to contact support team for further assistance.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 07:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/ilo5-connection-with-powershell-the-remote-server-returned-an/m-p/7186387#M18387</guid>
      <dc:creator>Vinky_99</dc:creator>
      <dc:date>2023-04-14T07:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: ILO5 Connection with Powershell - The remote server returned an error: (401) Unauthori</title>
      <link>https://community.hpe.com/t5/servers-general/ilo5-connection-with-powershell-the-remote-server-returned-an/m-p/7186549#M18396</link>
      <description>&lt;P style="margin: 0;"&gt;Hello &lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1604515"&gt;@erki72&lt;/a&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Can you try using the local administrator account of iLO on one host and check if you are able to update the iLO.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Cheers..&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 00:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/ilo5-connection-with-powershell-the-remote-server-returned-an/m-p/7186549#M18396</guid>
      <dc:creator>MV3</dc:creator>
      <dc:date>2023-04-18T00:38:58Z</dc:date>
    </item>
  </channel>
</rss>

