Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / While D365 code upgrad...
Finance forum
Suggested answer

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

Posted on by 245

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

  • 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
    Daniel YJ 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
    Daniel YJ 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.

  • Suggested answer
    Wajahat Mirza Profile Picture
    Wajahat Mirza 245 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
    Daniel Yang 39 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
    Daniel Yang 39 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
    Sukrut Parab 71,643 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
    Mea_ 60,274 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 ?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans