Skip to main content

Notifications

Announcements

No record found.

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

  • Verified answer
    anifarap Profile Picture
    anifarap 66 on at
    App for Outlook On-Premise adding app to users error
    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.
  • Suggested answer
    anifarap Profile Picture
    anifarap 66 on at
    RE: App for Outlook On-Premise adding app to users error

    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>

  • anifarap Profile Picture
    anifarap 66 on at
    RE: App for Outlook On-Premise adding app to users error

    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
    RE: App for Outlook On-Premise adding app to users error

    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>

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans