Build a Python daemon app that authenticates and acquires tokens from Azure Active Directory (Azure AD) as itself and calls a secure web API.