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