title: How NgZone() is working in Microsoft Teams tab
body: <p>I am working on building the Microsoft Teams tab in Angular. As per the below code I am getting context from Microsoft. Where I am calling several functions, one of the function is <code>this.checkOwner()</code> which returns whether the person who is logged in is the owner or not.</p>
  <p>So the issue which I am facing is, if am logged in as a member (not-owner) It sometimes returns the <code>true</code> and this is only coming If I am on a mobile app for the desktop app it's fine. Are there any delays caused by Ngzone?</p>
  <pre><code>microsoftTeams.getContext((Context: microsoftTeams.Context) =&gt; this.zone.run(() =&gt; {
     this.authSrvc.updateCurrentContext(Context);
     this.checkOwner();
     .
     .
     .
  ))}
  
  checkOwner() {
     this.authSrvc.getOwnersList(this.authSrvc.currentContext.groupId).subscribe((res: any) =&gt; {
        const isExist = res.value.find(res =&gt; res.userPrincipalName === this.authSrvc.currentContext.userPrincipalName);
        this.isOwner = isExist ? true : false;
     });
  }
  </code></pre>