Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Hi @Dhiluraj V ,
Thanks for reaching out.
I understand you are calling Azure AD endpoints to get an access token to add-in's web application.
There are two versions of access tokens provided by Microsoft identity platform based on the endpoint version which we are calling to get the access token: v1.0 and v2.0.
These versions determine the claims that are in the token.
exp claim in the payload specifies the expiry time of the token or after which the JWT must not be accepted for processing in both v1 and v2 version.
All the access tokens can be decoded using https://jwt.ms to check the value for each claim.
If you are not getting the exp claim in the access token, then access token has not been generated correctly.
Thanks,
Shweta
------------------------------------
Please remember to "Accept Answer" if answer helped you.