Hello, Azure AD can invalidate access tokens trough Continuous access evaluation. For more information on how to enable your API and clients take a look at How to use Continuous Access Evaluation enabled APIs in your applications.
Continuous access evaluation revokes access token in response to events such as as an admin revoking a user refresh tokens. This can be coded into your application during logout, ideally after the application reuqtes Azure AD to clear out the Azure AD user session (trought the logout endpoint).
Alternatively, and since token are issued per API and validation is part of an API duties, you may develop token invalidation and tracking in your very same API.
Let us know if you need additional assistance. If the answer was helpful, please accept it