web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Network Patch Error
Power Apps
Answered

Network Patch Error

(0) ShareShare
ReportReport
Posted on by

I'm encountering an error when attempting to update a SharePoint list item using the Patch function within a facilities group dashboard. The specific error message is "Requested Operation is Invalid."

Steps to Reproduce:

Access the facilities group dashboard.
Click on the "AssignedTo" dropdown menu.
Select a user from the list.
Click the "Submit Assign" button.

Expected Behavior:

The "AssignedTo" field in the selected SharePoint list item should be updated with the chosen user.

Actual Behavior:

The "Requested Operation is Invalid" error message appears.

Troubleshooting Performed:

I have verified that the objects being referenced in the Patch function exist.
I'm unsure whether to focus troubleshooting on .email or /claims references.

Additional Information:

 

Request:

I would appreciate assistance in identifying the root cause of this error and resolving the Patch function issue. Please advise on the following:

Potential causes for the "Requested Operation is Invalid" error in this context.
Specific troubleshooting steps to take, considering both .email and .claims references.
Whether the provided information is sufficient or if additional details are required.

Thank you for your time and support!


//Patch(
'Facilities & Security Support Desk',
SelectedRecord,
{
AssignedTo: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & Form1.Updates.AssignedTo.Claims,
DisplayName:Form1.Updates.AssignedTo.DisplayName,
Email: Form1.Updates.AssignedTo.Email,
Department: "",
JobTitle: "",
Picture: ""
},
'Ticket Owner':{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & Form1.Updates.'Ticket Owner'.Email,
DisplayName: Form1.Updates.'Ticket Owner'.DisplayName,
Email: Form1.Updates.'Ticket Owner'.Email,
Department: "",
JobTitle: "",
Picture: ""
},
Priority: Form1.Updates.Priority,
'Subject Details': Form1.Updates.'Subject Details',
Status:{Value:"Assigned"}
}
);
Set(AssignedEmail, SelectedRecord.AssignedTo.Email);

Taking over another project from a staff member who left,


Thanks

 

patchModern.png
assignedTo.png
Categories:
I have the same question (0)
  • Verified answer
    ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @MarsNet , Did you tried Email instead of Claims for Assigned To

    ANB_0-1719339740497.png

     

     

    Patch(
    'Facilities & Security Support Desk',
    SelectedRecord,
    {
    AssignedTo: {
    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    Claims: "i:0#.f|membership|" & Form1.Updates.AssignedTo.Email,
    DisplayName:Form1.Updates.AssignedTo.DisplayName,
    Email: Form1.Updates.AssignedTo.Email,
    Department: "",
    JobTitle: "",
    Picture: ""
    },
    'Ticket Owner':{
    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    Claims: "i:0#.f|membership|" & Form1.Updates.'Ticket Owner'.Email,
    DisplayName: Form1.Updates.'Ticket Owner'.DisplayName,
    Email: Form1.Updates.'Ticket Owner'.Email,
    Department: "",
    JobTitle: "",
    Picture: ""
    },
    Priority: Form1.Updates.Priority,
    'Subject Details': Form1.Updates.'Subject Details',
    Status:{Value:"Assigned"}
    }
    );
    Set(AssignedEmail, SelectedRecord.AssignedTo.Email);

     

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • Verified answer
    ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @MarsNet , I also wanted you use LastSubmit instead of Updates for form. Check the difference: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-form-detail

    ANB_0-1719340242299.png

    ANB_1-1719340270879.png

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard