increase OAuth Access Token expire time

Sujit Jhare 1 Reputation point
2022-07-10T06:48:33.63+00:00

We are getting Access Token followed by Authorise token from Azure AD for Microsoft Graph Application which consist (SMTP, POP, IMAP, email and openid), this Access token is short live (60-90) mins, we got an article on MSDN to increase the token expiration time https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes, using this article we can generate policy but these policy are not applying on token generated, as a requirement we need long live Access Token (more than 3 months), let me know if there is any way to get it.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,983 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,684 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vicky Kumar (Mindtree Consulting PVT LTD) 1,156 Reputation points Microsoft Employee
    2022-07-10T19:16:01.347+00:00

    Thanks for reaching out to us, AFAIK currently you can only increase the token time up to 28hr (max 1 day)

    219303-image.png

    0 comments No comments