Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

Posted on by 10

Hi all

Using code from the article Use Project schedule APIs to perform operations with Scheduling entities we faced up with an issue that tasks progress is not updated in Project for the web

It works fine when progress should either 0% or 100%, but does not when it should be somewhere in between (1-99%). It looks like any values greater than 0 and less than 1 just ignored by API

The task's msdyn_effortremaining field can't be updated at all

Are we missing something? Maybe there is some related entity that should be updated as well?

Here is the piece of code we are using and bellow is the result

task3["msdyn_subject"] = "Updated Task";
task3["msdyn_effort"] = 8d;
task3["msdyn_effortremaining"] = 4m;
task3["msdyn_progress"] = 0.5m;
task3["msdyn_start"] = DateTime.Now.AddDays(1);
var task3UpdateResponse = CallPssUpdateAction(task3, operationSetId);

Screenshot-2021_2D00_08_2D00_04-143606.png

  • Robert94 Profile Picture
    Robert94 45 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    Hi, was this solved?

  • Andrey Ignatenko Profile Picture
    Andrey Ignatenko 10 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    Antti Pajunen 

    Thanks a lot for assisting. From our side created the ticket 2108060050001483 as well. However there aren't any updates on that

    Thanks
    WBR Andrey Ignatenko

  • Suggested answer
    apa Profile Picture
    apa 8,282 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    Andrey Ignatenko I've opened SR 26931778 into the issue of msdyn_progress updating to 0.00 every time msdyn_PssUpdateV1 is called to update the value in the column to X. The issue has been identified as a bug and the product group is working on a fix without an ETA to give.

  • Andrey Ignatenko Profile Picture
    Andrey Ignatenko 10 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

     I tried this in my environment and what I'm seeing is that when I try to update % complete, it gets reset to 0 %. It's a consistent repro.

    Antti Pajunen yes, exactly. I forgot to mention this

    About the SR. You need to open it from the tenant's Power Platform Admin Center.

    Got it, thank you

    Thanks
    Andrey Ignatenko

  • apa Profile Picture
    apa 8,282 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    About the SR. You need to open it from the tenant's Power Platform Admin Center.

  • apa Profile Picture
    apa 8,282 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    Andrey Ignatenko I tried this in my environment and what I'm seeing is that when I try to update % complete, it gets reset to 0 %. It's a consistent repro.

  • Andrey Ignatenko Profile Picture
    Andrey Ignatenko 10 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    Antti Pajunen thanks a lot for the help

    Is there a way to track the support request's status from our side? Any public link or something?

    Thanks

    Andrey Ignatenko

  • apa Profile Picture
    apa 8,282 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    Ok in that case I'd open a support request. If it doesn't update anything and returns a 200, I can't really think of ay reason why it doesn't work.

  • Andrey Ignatenko Profile Picture
    Andrey Ignatenko 10 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    nope, and it's the issue

    Thanks

    Andrey Ignatenko

  • apa Profile Picture
    apa 8,282 on at
    RE: Project for the web: task's msdyn_progress and msdyn_effortremaining can't be updated via API

    Ok so with the above JSON, did % complete update to 30 % for that task?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans