private/xml/fetchAnnotationsForAzureEXO.xml

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
  <entity name="annotation">
    <attribute name="subject" />
    <attribute name="notetext" />
    <attribute name="annotationid" />
    <attribute name="modifiedon" />
    <order attribute="subject" descending="false" />
    <link-entity name="mw_cloudcredential" from="mw_cloudcredentialid" to="objectid" alias="ah">
      <filter type="and">
        <filter type="and">
          <condition attribute="mw_name" operator="like" value="Azure Exchange Online EXO Admin Refresh Token%" />
          <condition attribute="mw_domain" operator="eq" value="secure-cloud.ch" />
        </filter>
      </filter>
    </link-entity>
  </entity>
</fetch>