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 :
Customer experience | Sales, Customer Insights,...
Answered

App for Outlook On-Premise adding app to users error

(0) ShareShare
ReportReport
Posted on by 66

ResponseMessageType:ErrorInternalServerError##This app can't be installed. The manifest file doesn't conform to the schema definition.

The 'schemas.microsoft.com/.../1.1:AppDomain' element is invalid - The value '' is invalid according to its datatype 'schemas.microsoft.com/.../1.1:LongString' - The actual length is less than the MinLength value... 

While adding app for outlook for users in On-Premise deployment we are getting this error. Do you guys have any idea on how to resolve this?

Thanks is advance!0677.appforoutlook.png

I have the same question (0)
  • Suggested answer
    AJ-22040756-0 Profile Picture
    Microsoft Employee on at

    Hi Partner

     Can you validate your manifest file referencing this Article https://docs.microsoft.com/en-us/office/dev/add-ins/testing/troubleshoot-manifest

    Additionally, Make sure the Label element appears after all Group elements inside the CustomTab element. 

    Example:

    <CustomTab id="TabCustom1">
      <Group id="group1">
        <Label resid="groupLabel1"/>
        <Control xsi:type="Button" id="uilessButton1">
          <Label resid="uilessButtonLabel1"/>
          <Supertip>
            <Title resid="uilessButtonSuperTipTitle1"/>
            <Description resid="uilessButtonSuperTipDesc1"/>
          </Supertip>
          <Icon>
            <bt:Image size="16" resid="uilessButtonIcon1-16"/>
            <bt:Image size="32" resid="uilessButtonIcon1-32"/>
            <bt:Image size="80" resid="uilessButtonIcon1-80"/>
          </Icon>
          <Action xsi:type="ExecuteFunction">
            <FunctionName>buttonFunction1</FunctionName>
          </Action>
        </Control>
      </Group>
      <Label resid="customTabLabel1"/>
    </CustomTab>
  • anifarap Profile Picture
    66 on at

    Hi, can you help to point me where I can find the manifest file? This is built in by Dynamics 365 and we did not do any customization on this. Thanks!

  • Suggested answer
    anifarap Profile Picture
    66 on at

    I was able to obtain the manifest file from CRM. What I found out that one of the AppDomain element contain NULL String.

    See 4th AppDomain element. This caused CRM to fail uploading the APP to Exchange as LongString does not allow null string as per OfficeApp Schema definition.

    Is this a bug? Hopefully MS can look into this and provide a fix for On-premise

    <AppDomains>

       <AppDomain>login.windows-ppe.net</AppDomain>

       <AppDomain>login.microsoftonline.com</AppDomain>

       <AppDomain>login.windows.net</AppDomain>

       <AppDomain />

       <AppDomain>port.crm.crmlivetie.com</AppDomain>

       <AppDomain>port.crm2.crmlivetie.com</AppDomain>

       <AppDomain>port.crm.dynamics-int.com</AppDomain>

       <AppDomain>port.crm.dynamics.com</AppDomain>

       <AppDomain>port.crm2.dynamics.com</AppDomain>

       <AppDomain>port.crm3.dynamics.com</AppDomain>

       <AppDomain>port.crm4.dynamics.com</AppDomain>

       <AppDomain>port.crm5.dynamics.com</AppDomain>

       <AppDomain>port.crm6.dynamics.com</AppDomain>

       <AppDomain>port.crm7.dynamics.com</AppDomain>

       <AppDomain>port.crm8.dynamics.com</AppDomain>

       <AppDomain>port.crm9.dynamics.com</AppDomain>

       <AppDomain>port.crm10.dynamics.com</AppDomain>

       <AppDomain>port.crm.MicrosoftDynamics.de</AppDomain>

     </AppDomains>

  • Verified answer
    anifarap Profile Picture
    66 on at
    This was for an on-premise installation with IFD and ADFS connection.
     
    The error was due to the ADFS metadata is pointing to a local drive, where we downloaded the metadata locally and used it on the IFD setup of CRM.
     
    The fix is to point to ADFS metadata to the ADFS URL and not the local drive downloaded metadata.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 164 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans