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 :
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
    Dan Gittler - Dynamics Field Service Profile Picture
    on at

    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.

  • Nicolas Jaminon Profile Picture
    20 on at

    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?

  • Verified answer
    Dan Gittler - Dynamics Field Service Profile Picture
    on at

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

  • Nicolas Jaminon Profile Picture
    20 on at

    I'll do it. Thank you !

  • crham Profile Picture
    390 on at

    Did Microsoft resolve this?

  • Nicolas Jaminon Profile Picture
    20 on at

    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.

  • Shalini Nair Profile Picture
    20 on at

    Is it Resolved?

  • Suggested answer
    Pihl Profile Picture
    4 on at
    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.

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 61 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans