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 / The specified user i:0...
Power Apps
Answered

The specified user i:0#.f|membership| could not be found

(0) ShareShare
ReportReport
Posted on by 248

Hi 

 

I'm using a dropdown box to pull values from the Office365 connector and submit to SharePoint people picker, however this doesn't work when the dropdown is blank.

 

Claims: "i:0#.f|membership|" & Lower('dropdown'.Selected.UserPrincipalName)  I tired .Mail too, same issue.

It is returning only a value of i:0#.f|membership| 

 

and errors out with "the specified user i:0#.f|membership| could not be found"  

 

if I add a user it works fine and submits to SharePoint.  This is new because I didn't have this issue in the past.  Any ideas on how to fix this?

 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @cbernier12,

     

    When constructing the Person column schema manually (e.g. in the Update of the DataCard or within a Patch statement) you will have to wrap this in an if statement to not return anything in case of an empty selection:

     

    If(
     //Only provide the Person record when a selection is made
     !IsBlank(DropdownName.Selected),
     //Provide your SP Person column schema here
     {
     DisplayName: ...,
     Claims: ...
     }
    )

     

    Without using an If statement, you would send the following record to SP when no selection is made - causing the error.

     

    {
     DisplayName: "",
     Claims: "i:0#.f|membership|",
     Department: "",
     Email: User().Email,
     JobTitle: "",
     Picture: ""
    }

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • cbernier12 Profile Picture
    248 on at

    @LaurensM 

    Thanks, when I add this to the start of the if( statement

     !IsBlank

    it says !IsBlank not recognized and invalid. 

  • cbernier12 Profile Picture
    248 on at

    @LaurensM never mind, I fixed it, I needed to move the SharePoint column above that statement.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard