Outlook Addin sometimes fails to load in browser

286 views Asked by At

Outlook Add-in is sometimes failing to load in browsers. It is not even hitting the app end point url configured in manifest file.

Please check the screenshot of error logged in developer tools. enter image description here

This plugin is not published to Office Store. User will manually configure manifest file in his account.

added office365.com in AppDomain section. still it is complaining the same.

AppDomain section from manifest file :

<AppDomains>
        <AppDomain>xyz.myDomain.us</AppDomain>         
        <AppDomain>r4.res.office365.com</AppDomain>
        <AppDomain>outlook.office.com</AppDomain>
    </AppDomains>

Error is coming even before hitting my app endpoint url.

Now i am seeing this issue in chrome. It was working fine before. I suspect something wrong with cache. It stopped working after some using some period.

IMP: I tried installing some other apps. They are also failing to load in my account. I doubt this issue is not specific to my application.

Screenshot with boomerang app which is failing to load : enter image description here

NOTE: After clearing browser history, app is loading. How it is dependent on history?

1

There are 1 answers

3
Marc LaFleur On BEST ANSWER

You're manifest file is invalid, in fact it seems to have multiple manifests in it. Take a look at line 23-25:

 <IconUrl DefaultValue="https://sf.<?xml version="1.0" encoding="UTF-8"?>
<!--Created:ce44715c-8c4e-446b-879c-ea9ebe0f09c8-->
<OfficeApp

You have the beginning of a correct manifest but it stops at line 23 and then restarts an entirely new manifest. This manifest runs until line 289. It looks like a manifest was simply pasted into another manifest.

I've forked and updated the Gist of your manifest.