code: def _execute_ms_graph_api_auth_flow(self):
      msal_app = self._get_msal_app()
  
      if self.code:
          response = msal_app.acquire_token_by_authorization_code(
              code=self.code,
              scopes=self.scopes,
          )
  
          return response
      else:
          # TODO: Pass the redirect_uri as a parameter when getting the auth url
          redirect_uri = request.headers["ORIGIN"] + "/verify-auth"
  
          auth_url = msal_app.get_authorization_request_url(
              scopes=self.scopes,
              # redirect_uri=request.headers['ORIGIN'] + '/verify-auth',
          )
  
          raise AuthException(
              f"Authorisation required. Please follow the url: {auth_url}",
              auth_url=auth_url,
          )
  
file_path: mindsdb/mindsdb/integrations/handlers/utilities/auth_utilities/microsoft/ms_graph_api_auth_utilities.py
imports: import json
  from flask import request
  import msal
  from ..exceptions import AuthException
  from mindsdb.integrations.handlers.utilities.api_utilities import MSGraphAPIBaseClient
  from mindsdb.utilities import log
label_desc: Use image node_id 5 for calling the MSGraphAPIAuthManager obj's underlying member method code with example usage: obj._execute_ms_graph_api_auth_flow() and returns: response