title: Az PowerShell CmdLet Get-AzDataLakeGen2ChildItem Proxy Authentication Error
body: <p>I am running simple ps cmdlets to connect to azure datalake gen2 storage, some of the cmdlets are working and authenticating through corporate proxy (powershell is configured to use proxy on my machine). however some commands are failing with &quot;Proxy Authentication is required&quot;.</p>
  <p>Can someone share ideas or reason or fix ?</p>
  <pre><code> $subscription = &quot;subscription&quot;
   $storageAccount = &quot;storage&quot;
   $filesystem = &quot;rawdata&quot;
   Connect-AzAccount -Subscription $subscription | Out-Null
   $context = New-AzStorageContext -StorageAccountName $storageAccount -UseConnectedAccount   
  </code></pre>
  <p>Below commands are throwing an error</p>
  <pre><code>Get-AzDataLakeGen2Item -Context $ctx -FileSystem $fileSystem
  Get-AzDataLakeGen2ChildItem -Context $context -FileSystem $fileSystem 
  </code></pre>
  <blockquote>
  <p>Get-AzDataLakeGen2ChildItem : Proxy Authentication Required At line:1
  char:1</p>
  <ul>
  <li>Get-AzDataLakeGen2ChildItem -Context $ctx</li>
  <li>
  <pre><code>  + CategoryInfo          : CloseError: (:) [Get-AzDataLakeGen2ChildItem], RequestFailedException
    + FullyQualifiedErrorId : RequestFailedException,Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet.GetAzDataLakeGen2ChildItemCommand
  </code></pre>
  </li>
  </ul>
  </blockquote>
  <p>But this command is working fine.</p>
  <pre><code>Get-AzDatalakeGen2FileSystem -Context $ctx
  </code></pre>