title: Office is not initialized in Outlook add-in
body: <p>I have an Outlook web add-in created in React JS using Yeoman Generator.</p>
  <p>The add-in is working fine in most of the cases. But sometimes, the Office is not getting initialized properly and the add-in only display the Spinner with the message saying &quot;please wait while the add-in is loading...&quot;. This continues for a long time and unless we click on a new email and invoke the add-in again, the add-in doesn't load.</p>
  <pre><code>Office.onReady()
    .then(function () {
        isOfficeInitialized = true;
        userEmail=Office.context.mailbox.userProfile.emailAddress;
        userDisplayName=Office.context.mailbox.userProfile.displayName;
        appInsights.trackTrace({message:'Office JS loaded succesfully for ' + userDisplayName});
        render(App);
    })
    .catch(function (error) {
        appInsights.trackException(&quot;Error occured while loading Office JS &quot;+error);
    })
  </code></pre>
  <p>Now this issue is occurring more repeatedly and I am unable to gather any errors in the logs. Only the success message is displayed in App Insights.What can be done to avoid this or how to find out the root cause why the add-in is not loading properly in some cases ?</p>