Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Solution Import Error Microsoft.Crm.Tools.ImportExportPublish.ImportSiteMapException: Site Map import: FAILURE: There are multiple root elements. Line 1, position 58. ---> System.Xml.XmlException: There are multiple root elements. Line 1, position 58.

(1) ShareShare
ReportReport
Posted on by

Problem:

A recent update has prevented the import of the default sitemap within certain solutions. When you export a managed solution with the default sitemap, four new properties have been added to the App Module Sitemap nodes in the customizations.xml. These 4 extra XML nodes/properties, currently, do not import, and cause a solution import error (there are multiple root elements).

Fix:

In the <AppModuleSitemap> tag, remove the following properties from the exported solution in the customizations.xml file.

    <EnableCollapsibleGroups>False</EnableCollapsibleGroups>
    <ShowHome>True</ShowHome>
    <ShowPinned>True</ShowPinned>
    <ShowRecents>True</ShowRecents>

In the next few days, a fix will be released that will prevent the four properties from being exported in the App Module Sitemap tag, and following that, a fix will be released that will allow these four properties to be exported and imported as intended.

  • Ryan Wedoff Profile Picture
    on at
    RE: Solution Import Error Microsoft.Crm.Tools.ImportExportPublish.ImportSiteMapException: Site Map import: FAILURE: There are multiple root elements. Line 1, position 58. ---> System.Xml.XmlException: There are multiple root elements. Line 1, position 5

    Update! The issue has been stopped for all regions, you can now re-export and import again. On Aug. 13th, by the latest, all will be able import their solutions (even the solutions with the four properties) again.

  • Community Member Profile Picture
    on at
    RE: Solution Import Error Site Map import: FAILURE: There are multiple root elements

    Thank you for sharing!

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 181 Super User 2025 Season 1

#2
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 124 Super User 2025 Season 1

Product updates

Dynamics 365 release plans