Azure / Azure/WellArchitected-Tools

Error while Inserting work item in ADO

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
159
Forks
109
PR merge metrics
No merged PRs in 30d

Description

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 '+'.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.