Replies: 1 comment
-
If you login with an application, you'll receive an access token which expires in one hour. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the documentation, when I authenticate using the Connect-AzAccount command, it stores the authentication context in the CurrentUser scope to be used between multiple powershell sessions. How long is the authentication context valid, and does it need to be refreshed periodically?
I am building an app that needs to authenticate with Az Powershell across multiple Powershell processes, and I need to know if I can authenticate once and the context will be valid indefinitely until the user is logged out.
Beta Was this translation helpful? Give feedback.
All reactions