Skip to main content

Notifications

Announcements

No record found.

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

Updating projectManagerAadId via HTTP PATCH leads to 404 NOT FOUND

(0) ShareShare
ReportReport
Posted on by 15

Hi everyone,

we use an Azure Function in our environment to create projects in P4W using Logic App.

Creating the project works without any problems.
We then updated the project manager using an HTTP patch, which has always worked so far. Since 26.01. However, a 404 NOT FOUND error occurs here.

We use the following API call for this:

        public async Task SetProjectManagerAsync(string orgUrl, string projectId,string projectManagerAaDId)
        {
            string orgUrlShort = orgUrl.Replace("/", "").Replace("https:", "");
            string requestUrl = "https://oneproject-prod-torus-weu-000.westeurope.cloudapp.azure.com/pss/api/v1.0/projects(msxrm_"   orgUrlShort   "_"   projectId   ")";
            NewProjectManager body = new NewProjectManager();
            body.projectManagerAadId = projectManagerAaDId;
            var jsonModel = JsonSerializer.Serialize(body, options);
            return await SendRequestAsync(requestUrl, jsonModel, HttpRequestType.patch);

        }

Does anyone know if there have been any changes here?

Thanks in advance!

  • Suggested answer
    Patrick.Grebe Profile Picture
    Patrick.Grebe 15 on at
    RE: Updating projectManagerAadId via HTTP PATCH leads to 404 NOT FOUND

    Required Headers changed.

    Solved it.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans