In this case, you could build your own AccountController
instead of the default one in the official sample, or use a URL Rewriting Middleware
to redirect the URL you want.
Reference – How to specify custom logout URL when using Azure AD authentication in .NET core
CLICK HERE to find out more related problems solutions.