<?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 Problem adding ESXi Free host to AD domain in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Problem-adding-ESXi-Free-host-to-AD-domain/m-p/2189627#M72223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I pre-create the computer object in active directory. I then log into the 5.5 ESXi free edition host using the .net client, from there I can successfully join the host to my domain.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="success.PNG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/50836i5C274962B9E3DCB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="success.PNG" alt="success.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But trying to do the same from PowerCLI when logged into the host as root I receive an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_13956926870854474 jive_text_macro jive_macro_code" jivemacro_uid="_13956926870854474" modifiedtitle="true"&gt;
&lt;P&gt;Get-VMHost | Get-VMHostAuthentication | Set-VMHostAuthentication -Domain "domain.com" -Credential (Get-Credential) -JoinDomain&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set-VMHostAuthentication : 3/24/2014 4:16:15 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-VMHostAuthentication&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current license or ESXi version prohibits execution of the requested operation.&lt;/P&gt;&lt;P&gt;At line:1 char:41&lt;/P&gt;&lt;P&gt;+ get-vmhost | Get-VMHostAuthentication | Set-VMHostAuthentication -Domain&lt;/P&gt;&lt;P&gt;" ...&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NotSpecified: (:) [Set-VMHostAuthentication], Re&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; strictedVersion&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ViCore_SystemManagementServiceImpl_JoinDomain_Vi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Error,VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.SetVMHostAuthentication&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that the error states "Current license or ESXi version prohibits execution of the requested operation." but it works from the .net client and I haven't read anything stating that you cannot add esxi free hosts to a domain. I have also used JoinDomain_task method and still receive the same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13956929450363806 jive_macro_code" jivemacro_uid="_13956929450363806" modifiedtitle="true"&gt;
&lt;P&gt;$ADCreds = Get-Credential&lt;/P&gt;
&lt;P&gt;$Domain = "Domain.com"&lt;/P&gt;
&lt;P&gt;$AuthObj = Get-View -Id 'HostActiveDirectoryAuthentication-ha-ad-auth'&lt;/P&gt;
&lt;P&gt;$AuthObj.JoinDomain_Task($Domain, $ADCreds.GetNetworkCredential().username, $ADCreds.GetNetworkCredential().password)&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2014 20:36:57 GMT</pubDate>
    <dc:creator>pizzim13</dc:creator>
    <dc:date>2014-03-24T20:36:57Z</dc:date>
    <item>
      <title>Problem adding ESXi Free host to AD domain</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Problem-adding-ESXi-Free-host-to-AD-domain/m-p/2189627#M72223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I pre-create the computer object in active directory. I then log into the 5.5 ESXi free edition host using the .net client, from there I can successfully join the host to my domain.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="success.PNG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/50836i5C274962B9E3DCB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="success.PNG" alt="success.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But trying to do the same from PowerCLI when logged into the host as root I receive an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_13956926870854474 jive_text_macro jive_macro_code" jivemacro_uid="_13956926870854474" modifiedtitle="true"&gt;
&lt;P&gt;Get-VMHost | Get-VMHostAuthentication | Set-VMHostAuthentication -Domain "domain.com" -Credential (Get-Credential) -JoinDomain&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set-VMHostAuthentication : 3/24/2014 4:16:15 PM&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-VMHostAuthentication&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current license or ESXi version prohibits execution of the requested operation.&lt;/P&gt;&lt;P&gt;At line:1 char:41&lt;/P&gt;&lt;P&gt;+ get-vmhost | Get-VMHostAuthentication | Set-VMHostAuthentication -Domain&lt;/P&gt;&lt;P&gt;" ...&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NotSpecified: (:) [Set-VMHostAuthentication], Re&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; strictedVersion&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ViCore_SystemManagementServiceImpl_JoinDomain_Vi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Error,VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.SetVMHostAuthentication&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that the error states "Current license or ESXi version prohibits execution of the requested operation." but it works from the .net client and I haven't read anything stating that you cannot add esxi free hosts to a domain. I have also used JoinDomain_task method and still receive the same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13956929450363806 jive_macro_code" jivemacro_uid="_13956929450363806" modifiedtitle="true"&gt;
&lt;P&gt;$ADCreds = Get-Credential&lt;/P&gt;
&lt;P&gt;$Domain = "Domain.com"&lt;/P&gt;
&lt;P&gt;$AuthObj = Get-View -Id 'HostActiveDirectoryAuthentication-ha-ad-auth'&lt;/P&gt;
&lt;P&gt;$AuthObj.JoinDomain_Task($Domain, $ADCreds.GetNetworkCredential().username, $ADCreds.GetNetworkCredential().password)&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 20:36:57 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Problem-adding-ESXi-Free-host-to-AD-domain/m-p/2189627#M72223</guid>
      <dc:creator>pizzim13</dc:creator>
      <dc:date>2014-03-24T20:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding ESXi Free host to AD domain</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Problem-adding-ESXi-Free-host-to-AD-domain/m-p/2189628#M72224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One the free ESXi license limitations is the fact that it doesn't have a "writeable API".&lt;/P&gt;&lt;P&gt;That means no changes through CLI, PowerCLI and other tools that use the API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 20:54:23 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Problem-adding-ESXi-Free-host-to-AD-domain/m-p/2189628#M72224</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2014-03-24T20:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding ESXi Free host to AD domain</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Problem-adding-ESXi-Free-host-to-AD-domain/m-p/2189629#M72225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to know. Thanks for the info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 22:43:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Problem-adding-ESXi-Free-host-to-AD-domain/m-p/2189629#M72225</guid>
      <dc:creator>pizzim13</dc:creator>
      <dc:date>2014-03-24T22:43:15Z</dc:date>
    </item>
  </channel>
</rss>

