Any help appreciated.Message: Response for request for token config with ID 1 and request type 'TokenByAuthorizationCode' was not '200 OK'. invalid_grant (error code 54005): AADSTS54005: OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token.
OAuth2 token refresh issue to Azure AD
Moderator: crythias
OAuth2 token refresh issue to Azure AD
Getting this error and don't know how to resolve it without deleting the entire integration and setting it up again:
			
			
									
						
										
						- 
				skullz
 - Znuny superhero
 - Posts: 658
 - Joined: 24 Feb 2012, 03:58
 - Znuny Version: LTS and Features
 - Real Name: Mo Azfar
 - Location: Kuala Lumpur, MY
 - Contact:
 
Re: OAuth2 token refresh issue to Azure AD
No expert in this, but first i check the url authorization and url for token in Oauth2 screen.
Url authorization should end with '/authorize'
Url token should ens with '/token'
			
			
									
						
							Url authorization should end with '/authorize'
Url token should ens with '/token'
My Github 
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
			
						OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
Re: OAuth2 token refresh issue to Azure AD
I resolved this by creating a new OAuth2 connection and migrating the Postmaster Mail Accounts over to it.