Skip to main content


To use the common Microsoft API logic (authentication and API requests), run the following command to import the MicrosoftApiModule.

def main():
from MicrosoftApiModule import * # noqa: E402
if __name__ in ["builtins", "__main__"]:

Then, the MicrosoftClient will be available for usage. For examples, see the Microsoft Graph Listener or Microsoft Graph Mail integrations.