title: Location value misbehaves on an Office365 account
body: <p>I have an issue with setting location value for an Office 365 Business Premium account appointment in OWA.</p>
  
  <p>code for getting location:</p>
  
  <pre><code>  function getLocation() {
      const $dLoc = $.Deferred();
      try {
          Office.context.mailbox.item.location.getAsync(function (asyncResult) {
          if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {
            $dLoc.resolve(asyncResult.value);
          }
          else {
            $dLoc.reject(translate.getTranslation('ERROR_GETTING_LOCATION'));
          }
        });
      }
      catch (e) {
        $dLoc.reject(e);
      }
      return $dLoc.promise();
    }
  </code></pre>
  
  <p>code for setting location:</p>
  
  <pre><code>  function applyLocation() {
      const $dLoc = $.Deferred();
      try {
        Office.context.mailbox.item.location.setAsync(_appointmentInfo.loc, function (asyncResult) {
          if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {
            $dLoc.resolve();
          }
          else {
            $dLoc.reject(translate.getTranslation('ERROR_SETTING_LOCATION'));
          }
        });
      }
      catch (e) {
        $dLoc.reject(e);
      }
      return $dLoc.promise();
    }
  </code></pre>
  
  <p>This works fine on an exchange 2016 on-premise server both in the native Outlook clients(MAC and WIN) and OWA.</p>
  
  <p>In an Office 365 Business Premium account it also works just fine in the Outlook native client , but in OWA (<a href="https://outlook.office.com/owa/.." rel="nofollow noreferrer">https://outlook.office.com/owa/..</a>.) I can get/set the location just fine programmatically, but whatever value I set does not get preserved upon meeting/appointment save/sent.</p>
  
  <p>One difference I notice is that on Exchange 2016 on-premise the location is plain text in the location field in OWA, while in Office365 OWA the location has some html applied to it and it has an X button as in the below image:</p>
  
  <p><img src="https://i.stack.imgur.com/DJUc2.png" alt="x button on location"></p>
  
  <p>Any idea why this happens, why it works for exchange and does not work for Office365 OWA?</p>