Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Can you patch an external user to a SharePoint list

Like (1) ShareShare
ReportReport
Posted on 14 Jan 2025 13:40:05 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
  • vipuljain03 Profile Picture
    vipuljain03 79 on 14 Jan 2025 at 18:31:16
    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

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,638

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,433

Leaderboard
Loading started