Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

While D365 code upgrade getting work item permission error in team foundation service

(1) ShareShare
ReportReport
Posted on by 254

Hi,

I am upgrading from AX2012 R2 to D365 V10. After uploading model store in LCS project, i have run code analyzer which converts model store into deploy able package. This step is continuously failing and giving error "The work items could not be created for the Visual Studio Team Services project. Please verify the Visual Studio Team Services account has permissions to create and delete work items and then retry." My user is project owner and have granted all permissions including "Create and delete work items" in DevOps as well, still getting same error.

What can be the issue?

pastedimage1573422923682v1.png

Regards,

Wajahat Mirza

  • Suggested answer
    TBrueggendick Sycor Profile Picture
    7 on at
    While D365 code upgrade getting work item permission error in team foundation service
    Unfortunately this is caused by a limit of DevOps. The DevOps Team has reduced the number of work items which could be created. It is confirmed on Yammer/Viva Engage, that the code upgrade is succesfull to this point. The only remaining points are the creation of work items for every issue. These are often more than 1000 issues and are also available in one of the created excel files.
    Microsoft has planed to remove this part of the code upgrade but it seems they didn't removed it, so today we still get this error.
     
    So in the end the code upgrade is finished in the responding respository and you can ignore this error message. In my case there are even a lot of work items which were created till the limit was reached.
  • Community member Profile Picture
    2 on at
    While D365 code upgrade getting work item permission error in team foundation service
    Is there a solution from microsoft in 2023 available?
    I get this message during the code upgrade process, although my user account is DevOps project administrator.
     
  • Daniel YJ Profile Picture
    40 on at
    RE: While D365 code upgrade getting work item permission error in team foundation service

    Same answer from MS received.

  • Daniel YJ Profile Picture
    40 on at
    RE: While D365 code upgrade getting work item permission error in team foundation service

    Thanks, Wajahat. We have also submitted a ticket to MS. Waiting for theire answer.

  • Verified answer
    Wajahat Mirza Profile Picture
    254 on at
    RE: While D365 code upgrade getting work item permission error in team foundation service

    This a bug in LCS VSTS. Yesterday I submitted a support ticket to Microsoft and they replied that this is a known bug and other customers also complained about it. Microsoft saying the code upgrade is completed and from repository in VSTS (DevOps) it can be downloaded or code can be fetched after connecting VSTS in Visual studio in Dev environment.

    Below is the reply from Microsoft Technical Support team:

    "This is a known issue on some accounts, which happens at the end of the upgrade. If you receive this error, the code upgrade has actually successfully completed - it just won't have created the work items. If customer wants to know the tasks, they can use the Excel sheet that is on the code upgrade.

    So to summarize - this error can safely be ignored and happens after the code upgrade has successfully completed and checked in all the code to source control. Customer can ignore this error and proceed with the remaining work for their upgrade."

  • Daniel Yang Profile Picture
    66 on at
    RE: While D365 code upgrade getting work item permission error in team foundation service

    Yes, we selected all the permissions .

  • Suggested answer
    Daniel Yang Profile Picture
    66 on at
    RE: While D365 code upgrade getting work item permission error in team foundation service

    We 're facing the same issue since last week, even we successed before.

    Has Microsoft changed something ?

  • Sukrut Parab Profile Picture
    71,682 Moderator on at
    RE: While D365 code upgrade getting work item permission error in team foundation service

    Did you set up connection of LCS with Azure dev ops in Projects settings of  your upgrade project ?

  • Mea_ Profile Picture
    60,278 on at
    RE: While D365 code upgrade getting work item permission error in team foundation service

    In LCS project settings you connect LCS to devOps and provide security token there. This token has some permissions when you create it, did you check them and user token belongs to ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,161 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,942 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans