title: HTTP Status Code: Not found error for AzureRM.Datafactoryv2 cmdlets in powershell
body: <p>When i run <code>Get-AzureRmDataFactoryV2ActivityRun</code> in PowerShell i get an error as shown below</p>
  
  <blockquote>
    <p>Get-AzureRmDataFactoryV2ActivityRun : HTTP Status Code: NotFound
    Error Code: NotFound
    Error Message: Operation returned an invalid status code 'NotFound'
    Request Id: ID
    Timestamp (Utc):05/31/2018 04:32:39
    At line:2 char:1
    + Get-AzureRmDataFactoryV2ActivityRun -DataFactoryName "maxscadfdev" -R ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : CloseError: (:) [Get-AzureRmDataFactoryV2ActivityRun], ErrorResponseException
        + FullyQualifiedErrorId : Microsoft.Azure.Commands.DataFactoryV2.GetAzureDataFactoryActivityRunCommand</p>
  </blockquote>