title: How do I resolve PowerShell Set-ADUser Error
body: <p>If its not one thing its another today. Trying to change an attribute on a user from a CSV. I am getting the following error - Set-ADUser : Cannot validate argument on parameter 'Identity'. The argument is null.</p>
  <p>Here is the code. Odd thing is that I am pretty sure this worked just a couple of weeks ago. Cant figure out what I am missing.</p>
  <pre><code>Import-csv c:\test.csv | foreach-object {
  Set-aduser $_.userPrincipalName -add @{
      extensionattribute15 = &quot;SomethingGoesHere&quot;
      }
  }
  </code></pre>