The SiteMapName in the AppModuleSiteMap is null or empty

After upgrading a customer to 9.0 we had an error importing a solution containing an App into our production instance

The error was 0x80050109 “The SiteMapName in the AppModuleSiteMap is null or empty”

I checked the the SiteMap for this app does have a name but checking the customizations.xml there was no SiteMapName node in the exported file

<AppModuleSiteMaps>
     <AppModuleSiteMap>
       <SiteMapUniqueName>xxx_xxxsales</SiteMapUniqueName>
       <SiteMap IntroducedVersion=”7.0.0.0″>

I suspect this is to do with localization as have many languages enabled on this system. Adding the SiteMapName node in as follows fixed the problem

<AppModuleSiteMaps>
    <AppModuleSiteMap>
      <SiteMapUniqueName>xxx_xxxsales</SiteMapUniqueName>
      <SiteMapName>Sales</SiteMapName>
      <SiteMap IntroducedVersion=”7.0.0.0″>

#MSDyn365

Advertisements

About Julian Sharp

I have worked with Dynamics CRM/365 since 2004 and have been involved in over 100 CRM projects. I am a Dynamics 365 MCT and teach Dynamics 365 and Azure in the UK and across Europe
This entry was posted in Customisation, Dynamics 365. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.