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 / AccountEnabled does no...
Power Apps
Answered

AccountEnabled does not exist

(0) ShareShare
ReportReport
Posted on by 364

Hi there, 

 

I'm patching a selected person to a collection and I keep getting the error on the patch of "AccountEnabled does not exist", despite that fact that I haven't created a field for that in the collection.

 

This is my inital clearcollect:

 

 

 

ClearCollect(
 varCurrentEventLeads,
 {
 TaskLead: {
 '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
 Claims: "",
 DisplayName: "",
 Email: "",
 JobTitle: ""
 }
 }
);

 

 

 

And this is my patch:

 

 

 

Patch(
 varCurrentEventLeads, 
 ThisItem,
 {
 TaskLead: {
 '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
 Claims: "i:0#.f|membership|" & Lower(ThisItem.Mail),
 DisplayName: ThisItem.DisplayName,
 Email: ThisItem.Mail,
 JobTitle: ThisItem.JobTitle
 }
 }
);

 

 

 

 

No errors at all on the clearcollect, just on the patch. Anything I'm missing here?

 

Categories:
I have the same question (0)
  • Verified answer
    BhaskarDhone Profile Picture
    1,394 Super User 2026 Season 1 on at

    change your person field record to 

    {
     Claims: "",
     Department: "",
     DisplayName: "",
     Email: "",
     JobTitle: "",
     Picture: Blank()
    }

     

    Not necessary that you should provide values to all fields of the record. You can have values to Claims, DisplayName, Email. Rest you can leave it black. SharePoint person field will understand and patch correct user.

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
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard