web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Update asset lifecycle state with Powerautomate - not allowed for field 'MaintenanceAssetTypeId'

(1) ShareShare
ReportReport
Posted on by 18
Hi everyone,
 
I'm using Powerautomate to update the lifecycle state of my top asset whenever the lifecycle state of one of the children changes:
 
 
Object ID, Asset and Asset Type are the values that are read from this very asset before.
 
As response, I receive:
{
"status": 403,
"message": "An error has occurred. update not allowed for field 'MaintenanceAssetTypeId'\r\nclientRequestId: 433d7831-7942-447b-99fe-666816a3fec9",
"error": {
"message": "An error has occurred. update not allowed for field 'MaintenanceAssetTypeId'"
},
"source": "trainpoint-dev.sandbox.operations.no.dynamics.com",
"errors": []
}
 
I understand that the MaintenanceAssetTypeId cannot be changed. I don't want to change this field. I only want to update the Lifecycle State. But since "Asset Type" is required in the "update a record" block, I can't avoid filling it out. The value is the same as before.
 
Any ideas how to solve this?
 
 
best regards
Moritz
 
I have the same question (0)
  • Martin Dráb Profile Picture
    237,959 Most Valuable Professional on at
    In my opinion, the system shouldn't complain about it, because MaintenanceAssetTypeId is bound to a read-only data source and therefore it'll never be updated. But I guess that it looks at AllowEdit property of the field, which is set to Auto and it effectively gets the value No from the table.
    I think you'll need to create a data entity extension and change properties of MaintenanceAssetTypeId field. Either Mandatory=No or AllowEdit=Yes. I guess that MaintenanceAssetTypeId is required when creating a new field record, therefore it would be better to keep it mandatory and allow editing instead.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 302 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 120 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans