Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

(0) ShareShare
ReportReport
Posted on by 40

I have a command bar button on a main form using power fx formula. It clones a record. It was working fine until today (it looks like Microsoft did a copilot update??). It is now not working and I get the following error:

 

Error:  Cannot read properties of null (reading 'identifier')

 

I have removed and re-added the datasource in the DefaultCommandLibrary (canvas app) but it has not helped.  Is anyone having a similar problem and any ideas on how to solve?

 

Edit - here is my power fx formula - it was working fine until today????

 

If(
Confirm(
"Are you sure you want to clone this order?",
{
Title: "CLONE AN ORDER",
ConfirmButton: "Yes",
CancelButton: "No"
}
),
// If user clicks "Yes"
With(
{
NewOrder: Patch(
Orders,
Defaults(Orders),
{
'Order Type':Self.Selected.Item.'Order Type',
'Plan No':Self.Selected.Item.'Plan No',
Portfolio:Self.Selected.Item.Portfolio,
'Lot No':Self.Selected.Item.'Lot No',
'Account Code':Self.Selected.Item.'Account Code',
'Issue No':Self.Selected.Item.'Issue No',
'Contractor No':Self.Selected.Item.'Contractor No',
Description:Self.Selected.Item.Description,
'Site Contact Lot':Self.Selected.Item.'Site Contact Lot',
'Start Date':Now(),
Report:Self.Selected.Item.Report,
'Internal Notes':"Cloned from " & Self.Selected.Item.'Order No' & ". Please update before sending"
}
)
},
Navigate(NewOrder);
Notify("Cloning process completed. Please update before sending.")
),
// If user clicks "No"
Notify("Cloning process aborted.")
)

 



  • Vikash001 Profile Picture
    40 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Fixed for me too - good work everyone!

  • Sam7799 Profile Picture
    25 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Mine is now working as expected too! Good work folks.

  • Alex Nosiara Profile Picture
    12 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Fixed for me too - more yay

  • sharonsammy123 Profile Picture
    40 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Yay - my command buttons now work  😀   (fingers crossed they keep working !)

  • Sam7799 Profile Picture
    25 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Yes - I also got confirmation on my support ticket a fix will be deployed by the weekend 🙂 Fingers Crossed

  • LucyCC Profile Picture
    95 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    Still having the issue. MS have got back to me to say the fix will be deployed from 10th May (tomorrow, Friday). So fingers crossed that it will be working on Monday!

  • MarkPP Profile Picture
    107 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    I have had a further response this morning from support to say it will be fixed during the next weekend so we will see what happens

  • MarkPP Profile Picture
    107 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    I am still seeing the error. On my support ticket they came back to say it seems the deployment didn't fix all regions and organisations. 

  • Alex Nosiara Profile Picture
    12 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    You can check the released versions of dataverse here.
    Released versions of Microsoft Dataverse - Release Notes | Microsoft Learn

    Depending on your geography you may need to wait a week or two after its first released. As yet no notification of the fix in any release, however last article was dated 25th April. Still waiting for notes on the next release. They are usually created each week.

  • windywong Profile Picture
    32 on at
    Re: Dataverse Model Driven App Command Bar Power FX Button - Error today -Cannot read properties of null (reading 'identifier')

    I keep trying from time to time but still receiving this error till now

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 57 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard