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

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

(0) ShareShare
ReportReport
Posted on by 20

Hi the Dynamics community,

It's my first post here.

I'm currently doing some tests with Dual-Write (D365 Field Service and D365 F&O) and I would like that D365 Field Service create my asset based on the Work Order Product but I've this issue when I'm trying to set the status of my work order to "Completed" with a product on which "Convert to customer asset" is set to Yes.

pastedimage1637936336117v1.png

"You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated."

However, the status on my functionnal location is active.. I don't understand what's wrong

pastedimage1637936512873v2.png

pastedimage1637936533097v3.png

Could you please help me ? I found some similar topics on the forums but no one with a solution..

Thank you,

I have the same question (0)
  • Suggested answer
    Pihl Profile Picture
    4 on at
    You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.
    As a workaround in stead of logging a ticket with Microsoft support I used the plugin registration tool to update the plugin to run Post-execution and Asynchronously, in stead of Pre-execute and Synchronously. The Plugin still kicks in, but as i runs async it just logs an error in the background, and neither Dual Write nor a user will get the error that the Functional Location Active has to be Yes.
  • Shalini Nair Profile Picture
    20 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Is it Resolved?

  • Nicolas Jaminon Profile Picture
    20 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Still in progress..

    Microsoft identified where the problem comes from (plugin : ‘AssetManagement.Crm.Plugins.PreventMaintenanceAssetCreationOnStatusPlugin’.) but when you deactivate it, the system no longer takes in consideration your functional location and links your asset directly to your service account.

  • crham Profile Picture
    390 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Did Microsoft resolve this?

  • Nicolas Jaminon Profile Picture
    20 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    I'll do it. Thank you !

  • Verified answer
    Dan Gittler - Dynamics Field Service Profile Picture
    on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Looks right to me! I don’t have an answer off hand. Can you open a ticket?

  • Nicolas Jaminon Profile Picture
    20 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Hi Dan,

    Thank you for your answer.

    As you can see, the mappings are running well

    pastedimage1638258070092v1.png

    I use the USMF sample Data on our sandbox and I think that the functional location state set and active. (Please correct me if I'm wrong)

    pastedimage1638258203770v2.png

    If you think I'm right, please tell me. By this way, I'll open a ticket with Microsoft. Otherwise, could you please tell me what's wrong?

  • Suggested answer
    Dan Gittler - Dynamics Field Service Profile Picture
    on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Hi Nicolas, when you open up Enterprise Asset Management in Finance and Operations, is the functional location lifecycle state set and active? Trying to determine if theres a sync issue on locations. If yes, please open a ticket with Microsoft so we can investigate.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 100 Super User 2025 Season 2

#2
Suresh Kulla Profile Picture

Suresh Kulla 72 Super User 2025 Season 2

#3
DAnny3211 Profile Picture

DAnny3211 54

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans