title: Sync with Azure Active Directory with a multi-tenant app (receiving user notifications)
body: <p>I've developed a feature on my web-site that allow to log-in using Azure.</p>
  
  <p>So users in my web-site can sign-in using:</p>
  
  <ul>
  <li><p>Azure (OAuth2). We're using a multi-tenant app. We're just using the application to log in users. So we don't really use the Access-Token to make requests. We just use the access-token to obtain the user email (decoding it with JWT).</p></li>
  <li><p>Their own email-password they can set on my site. </p></li>
  </ul>
  
  <hr>
  
  <p>This creates a problem:</p>
  
  <p>Imagine an person that starts working in a company. The IT team give him an email that belongs to their azure account (with their account domain). This team also have an account on my site (configured with the same domains they use on Azure). So this user will try to log in my site using his credentials. We'll create his profile on their company account (due to the email domain). He sets his password. Sometimes he use Azure to log-in and sometimes he use his email-password to log-in. </p>
  
  <p>The next month and, this person get fired. The IT team delete him from Azure. Although, the IT team forget about deleting him also on my site. So this user has permissions to sign-in with his email-password credentials and still be able to see private information (he can even delete private files).</p>
  
  <hr>
  
  <p>I would like to know if there is a way to sync my app with every Directory that is using it. So I would be able to receive user action notifications (like user deletions). It would be great to receive a call to an endpoint with information about users important actions. This way we'll be able to delete the user also from our platform. So the company can forget about deleting an user on my site without having the stolen-information problem.</p>
  
  <p>PS: I've seen you have a logout sync using SAML, but I wonder if we would be able to receive other kind of notifications, because we don't want to log-out the user when this logs-out from Azure.</p>