Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Can you patch an external user to a SharePoint list

(1) ShareShare
ReportReport
Posted on by 66
Hi everyone,
 
Is there a way to patch an external user to a SharePoint list? When I try to do it I get the Network Error the requested operation is invalid.
 
TIA
  • Suggested answer
    vipuljain03 Profile Picture
    vipuljain03 221 on at
    Can you patch an external user to a SharePoint list
     
    Please click Accept as solution if my post helped you solve your issue. ✔️ This will help others find the solution to this problem. It also closes the item.

    If the content was useful in other ways, please consider giving it Thumbs Up. 👍
  • vipuljain03 Profile Picture
    vipuljain03 221 on at
    Can you patch an external user to a SharePoint list
    You can use the Patch for an external user, however there are few things to check beforehand, as external users in SharePoint Online have unique characteristics that require specific handling.
     
    1. Verify External User Access
    Before patching, ensure that:
    • The external user has been invited to your SharePoint site.
    • They have accepted the invitation and their account appears in your SharePoint site's People and Groups directory.

    ​​​​​​​2. Use the below syntax to Patch the external user
    Patch(
        YourSharePointList,
        Defaults(YourSharePointList),
        {
            PersonOrGroupColumn: {
                '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
                Claims: "i:0#.f|membership|user@externaldomain.com",
                DisplayName: "User Name",
                Email: "user@externaldomain.com"
            }
        }
    )
     
    3. Ensure the User Exists in SharePoint
    The external user must exist in the site's User Information List. If not, the patch will fail.
     
    4. Permissions in SharePoint
    Ensure that the external user has Contribute or Edit permissions on the site or list, depending on the action you are performing.
     
    ----------------------------------
    If this reply helped you, please mark this reply as suggested answer ✔️ and give it a like to help others in the community find the answer too!
     
    Thanks,
    Vipul

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,318 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,111 Most Valuable Professional

Leaderboard