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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Active Discussion

Electronic Reporting Migration Cleanup and Repair

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

When generating an electronic reporting report, users may encounter an error saying, “Object reference is not set to an instance of the object.” Or you may get a message saying an attachment is no longer attached or an error occurred during the request of the file. This often happens after an update or after migrating data, but sometimes it can happen intermittently as well.

 pastedimage1631302858262v2.png

 

The reason behind this is often that the data where the Azure storage blob is located has become corrupt. The system can no longer find the attachment to generate the electronic report file.

The most common solution for this problem will be discussed below, then information on how this issue can be avoided in the future.

First, make a note of where the configuration with this issue is located. Note any configurations that are dependent on the configuration with the problem as well as any related configurations.

pastedimage1631302877508v3.png

Go to Organization Administration > Periodic > Migration Cleanup

When deleting configurations in the Migration Cleanup tool, make sure to start with the innermost configurations as found in the hierarchy. In this case, remove the Fixed Asset Roll Forward configuration, which does not have any dependent configurations, so it can be deleted first.

Select the configuration encountering an issue.

pastedimage1631302887564v4.png

Click Delete to remove the configuration with this issue.

If it is desired to delete the related configurations all the way back to the data model, be sure to start with the innermost configurations. In this example, if deleting all the way back to the Fixed Assets Model data model, we would also delete the Fixed Asset Listing and Fixed Asset Listing CSV configurations first, then delete the Fixed Assets Model.

Now go back to the configurations list, see that the configuration is missing.

pastedimage1631302916364v5.png

Open the repository and import the latest version of the Fixed Asset Roll Forward configuration again.

pastedimage1631302928678v6.png

Now test the report to verify that the configuration works again.

 pastedimage1631302939761v7.png

To help prevent this in the future, Microsoft has introduced new functionality to create a backup of configuration attachments. When the system runs the configuration, it checks for the attachment. If the attachment is missing, it will check the backup and restores the attachment if possible.

For the most part this is set up automatically. Review the setup by going to the Electronic Reporting workspace and clicking Electronic Reporting Parameters. On the Attachments tab, note the settings related to Backup Storage of Templates.

pastedimage1631302950963v8.png

If Stop Making Backup Copies of Templates parameter to Yes, backups will not be available for any new configurations you import or create. It is recommended to leave this set to No as backups will be made automatically.

If there is a need to clean up the backup storage and replace the attachments in backup storage with fresh copies, first click the Clean Up Backup Storage button, then click the Fill in Backup Storage button.

*This post is locked for comments

  • Martin Dráb Profile Picture
    239,040 Most Valuable Professional on at

    I would say that this belongs to a blog and not to a discussion forum.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 663

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 439 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 337 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans