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

Notifications

Announcements

No record found.

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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans