def get_access_token(tenant_id, application_id, application_secret):
context = adal.AuthenticationContext(<EOL>get_auth_endpoint() + tenant_id, api_version=None)<EOL>token_response = context.acquire_token_with_client_credentials(<EOL>get_resource_endpoint(), application_id, application_secret)<EOL>return token_response.get('<STR_LIT>')<EOL>
get an Azure access token using the adal library.

    Args:
        tenant_id (str): Tenant id of the user's account.
        application_id (str): Application id of a Service Principal account.
        application_secret (str): Application secret (password) of the Service Principal account.

    Returns:
        An Azure authentication token string.