Skip to content

Error while Inserting work item in ADO #33

@jrai-199

Description

@jrai-199

After running
.\PnP-DevOps.ps1 -csv abc.csv -pat xxxxxxxxxx -uri "https://dev.azure.com/xyz/xxxxxxx" -name "xyz"

Output : Epic creation - OK and successful
but work items and features NOTOK . Getting below error

Adding Work Item: Leverage autoscaling to scale in and out as load varies
Write-Error: C:\Users\jatinrai\OneDrive - Microsoft\Jatin'workspace\MIPs\Cost optimization\report\WellArchitected-Tools\WARP\devops\PnP-DevOps.ps1:418
Line |
418 | … Write-Error "Could not insert item to devops: " + $Error[ …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| A positional parameter cannot be found that accepts argument '+'.

Adding Work Item: Build a capacity model for your workload
Write-Error: C:\Users\jatinrai\OneDrive - Microsoft\Jatin'workspace\MIPs\Cost optimization\report\WellArchitected-Tools\WARP\devops\PnP-DevOps.ps1:418
Line |
418 | … Write-Error "Could not insert item to devops: " + $Error[ …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| A positional parameter cannot be found that accepts argument '+'.

Adding Work Item: Define a process for alert reaction
Write-Error: C:\Users\jatinrai\OneDrive - Microsoft\Jatin'workspace\MIPs\Cost optimization\report\WellArchitected-Tools\WARP\devops\PnP-DevOps.ps1:418
Line |
418 | … Write-Error "Could not insert item to devops: " + $Error[ …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| A positional parameter cannot be found that accepts argument '+'.

Adding Work Item: NA
Write-Error: C:\Users\jatinrai\OneDrive - Microsoft\Jatin'workspace\MIPs\Cost optimization\report\WellArchitected-Tools\WARP\devops\PnP-DevOps.ps1:418
Line |
418 | … Write-Error "Could not insert item to devops: " + $Error[ …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| A positional parameter cannot be found that accepts argument '+'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions