SOLVED
Home

Azure AD OAuth 2.0 Access Token has expired

%3CLINGO-SUB%20id%3D%22lingo-sub-61392%22%20slang%3D%22en-US%22%3EAzure%20AD%20OAuth%202.0%20Access%20Token%20has%20expired%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-61392%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20azure%20access%20token%20that%20we%20are%20creating%20that%20will%20work%20for%2060%20minutes.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20we%20can%20exetnd%20it%20to%201%20month%2C%203%20months%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eis%20there%20any%20way%20to%20use%20same%20access%20toke%20for%20longer%20time.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-61392%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%20Management%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-61506%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20OAuth%202.0%20Access%20Token%20has%20expired%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-61506%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20get%20two%20tokens%20-%20the%20access%20one%20is%20valid%20for%201hour%2C%20the%20refresh%20one%20(which%20can%20be%20used%20to%20renew%20the%20access%20token)%20can%20be%20valid%20for%20up%20to%2090%20days.%20Read%20the%20documentation%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevelop%2Factive-directory-authentication-scenarios%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevelop%2Factive-directory-authentication-scenarios%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Imran Bagwan
New Contributor

The azure access token that we are creating that will work for 60 minutes.

 

How we can exetnd it to 1 month, 3 months ?

 

is there any way to use same access toke for longer time.

1 Reply
Solution

You get two tokens - the access one is valid for 1hour, the refresh one (which can be used to renew the access token) can be valid for up to 90 days. Read the documentation here: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-scen...

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies