Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to resolve error when using dataverse archive long term retention

(2) ShareShare
ReportReport
Posted on by 192
Hello,
 
I'm exploring the long term retention functionality for general ledger transactions in my organisation. I get the error An error occurred while creating the long term retention job. The given key was not present in the dictionary. when trying to run a retention job. I'm unsure what that means or where to go next. Any advice would be appreciated.
 
Thanks,
Michael
Categories:
  • CU06061003-0 Profile Picture
    2 on at
    How to resolve error when using dataverse archive long term retention
    Hello Everyone,

    I'm working on archiving data using Dataverse long-term retention. I've completed all the prerequisites and setup, and I've scheduled the archival job for inventory transactions. However, the job is stuck in the 'Pending move to history' state. Can someone please guide me on how to proceed?

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    13,685 Super User 2025 Season 1 on at
    How to resolve error when using dataverse archive long term retention
    Hi Michael,
    Please check out the following TechTalk video on this functionality to ensure you’ve followed the required prerequisites, such as activating the feature and closing the periods before archiving data:
    https://www.youtube.com/watch?v=E0_u8WscIO0&ab_channel=MicrosoftDynamics365Community
  • MBates237 Profile Picture
    192 on at
    How to resolve error when using dataverse archive long term retention
    Thanks André, the job has been running over the weekend and there seems to have been no change.
     
     
     
  • André Arnaud de Calavon Profile Picture
    295,143 Super User 2025 Season 1 on at
    How to resolve error when using dataverse archive long term retention
    Hi Michael,

    As a job has been created, please check if all is working OK. I have used the feature where I didn't have this error in my environment. 
  • MBates237 Profile Picture
    192 on at
    How to resolve error when using dataverse archive long term retention
    Hi André,
     
    Sure
     
    1. Support partner enabled license key
    2. Updated Finance and operations virtual entity
    3. Updated Dynamics 365 finance and operations platform tools
    4. Installed Dynamics 365 Archive with Dataverse long term retention
    5. Set the environment to be a managed environment
    6. Enabled Archive with Dataverse long term retention in feature management
    7. Refreshed on General ledger within the Archive workspace
    8. Created a retention job on a legal entity marked "Ready" within General ledger
    9. Received error
     
    Although I received the error, a job seems to have been created
     
     
    But as of yet I cannot see any history data
     
  • André Arnaud de Calavon Profile Picture
    295,143 Super User 2025 Season 1 on at
    How to resolve error when using dataverse archive long term retention
    Hi Michael,

    Can you elaborate on the steps you performed exactly before you get this error? Have you also followed all steps and do you meet the prerequisite requirements as listed in the documentation? Set up and manage archive data in finance and operations apps - Finance & Operations | Dynamics 365 | Microsoft Learn

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans