title: How can I configure the expiration time of an Azure AD access token (using ADAL)?
body: <p>We use Azure AD to authenticate users into our WPF application, using their Office 365 accounts. This is done using the Active Directory Authentication Library (ADAL).</p>
  
  <p>Currently, they are prompted to log in every time they open the app. We want to change this to allow logging in to the app via a cached token. This works but we want to shorten the expiration time of the token to 24 hours or less, requiring another sign in after that time has passed. </p>
  
  <p>I don't see a way to manipulate the expiration of an Access Token in code. Is this something that needs to be done within Azure AD?</p>