MicrosoftApiModule

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__"]:
main()

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