PRT renewal

testuser7 286 Reputation points
2023-08-31T13:14:22.12+00:00

Hi @Mark Morowczynski

I have one quick binary question about PRT Renewal.

It is very well documented as shown in attached diagram that when any app requests access-token from WAM and if WAM uses existing PRT, AAD can get access-token along with new PRT (based on refresh-cycle)

My question is , can WAM do this work periodically for any client-app WITHOUT BEING INITIATED by client-app ??

Meaning will WAM sense out that it is the time to get new access-token ready even though client-app has not requested ?

User's image

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 17,961 Reputation points Microsoft Employee Moderator
    2023-09-01T09:08:22.85+00:00

    @testuser7

    Thank you for posting your query on Microsoft Q&A, from above description I could understand that you wanted to know, if WAM plugin will request a new access token at the threshold time without app requesting it (just like refresh token)?

    The answer to this would be "NO", WAM would not authorize to renew PRT to get access token until requested by the application:

    The WAM plugin can renew the PRT during these token requests in two different ways:

    • An app requests WAM for an access token silently but there’s no refresh token available for that app. In this case, WAM uses the PRT to request a token for the app and gets back a new PRT in the response.
    • An app requests WAM for an access token but the PRT is invalid or Azure AD requires extra authorization (for example, Azure AD Multifactor Authentication). In this scenario, WAM initiates an interactive logon requiring the user to reauthenticate or provide extra verification and a new PRT is issued on successful authentication.

    Thanks,

    Akshay Kaushik

    Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.