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 / PowerApp generated aga...
Power Apps
Unanswered

PowerApp generated against 'Application User' let me create a record without a 'AAD user object ID'

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I was using the 'Application User' table to cache the users from the Office365 connection.  It was working great until the generated PowerApp against the 'Application User' table let me create a record with a valid EmailPrimary but the 'AAD user object ID' was blank/NULL/empty.  I cannot UPDATE or DELETE this record.  I have tried the RemoveIf('Application User', true) and it did remove all records BUT this one bad record.  This is a very big problem because the 'EmailPrimary is also a 'unique' record and the email address was a valid email address, therefore, I cannot even create another record for this particular user.

 

Any help?  How do you delete all records when the identity is blank/NULL/empty?

 

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi EdRGray,

     

    Did you mean the "Office 365 Users" connection?

    Capture.PNG

     

    It seems that PowerApps cannot automantically create the app using this connection. May I know more detailed information about your app. Like how did you create he record in app?

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I did NOT attempt to generate the App against that connection.  I generated the App against the Standard Entity provided by the Common Data Services named 'Application user'.

     

    I was using that generated application to populate the values returned by the Office 365 connection.  For example, generate an app based on the standard entity named 'Application user', then run that generated application and begin to populate the data with cut and paste.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Everything was working fine until somehow one of the entries ended up/somehow getting a NULL/empty record into the identify column.

     

    Error Publishing

    Details:
    Original data contains rows without identity. Identity fields: AAD user object ID

     

    ExcelSampleNULLidentity.png

     

    I only have 1 row remaining in the table now because I tried to remove all records and start over.  I did that with this command in a PowerApp.  

     

    RemoveIf('Application user', true)

     

    That command removed all rows but the one NULL/empty row.

     

    If there is another method to truncate a table, or remove all rows, I would use that and start over.

     

    I have no idea why one record ended up with the NULL/empty row.  I had created several already before that happened.

     

    SamplePowerAppDataViewOfNULL.png

     

    Here is the error message from within PowerAppsErrorInPowerAppsWithTheOneNULLrecord.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Can anyone help me with this issue?

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard