Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token not refreshing if script is running for more than an hour #39

Open
JamiePGE opened this issue Aug 21, 2023 · 1 comment
Open

Token not refreshing if script is running for more than an hour #39

JamiePGE opened this issue Aug 21, 2023 · 1 comment

Comments

@JamiePGE
Copy link

I am having an issue with the token expiring if the script is running for more than an hour. The script is processing entries fine then after an hour we start getting "Your access token has expired". See error message from transcript below.

TerminatingError(Invoke-RestMethod): "{"error":{"code":"Authentication_ExpiredToken","message":"Your access token has expired. Please renew it before submitting the request.","innerError":{"date":"2023-07-26T17:16:42","request-id":"","client-request-id":""}}}"

@JamesDBartlett3
Copy link
Collaborator

@JamiePGE, have you tried adjusting the functionTimeout property in your Azure Function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants