SSO SAML2 Return To redirect after logout is ignored. Is there a way to redirect to custom logout page

In my custom asp.net 4.8 application aflter click on logout button, it takes to microsoft logout page and retains there and never returns to configured logout.aspx page. Instead it should redirect to logout.aspx page such that we can control it.
configured in Azure.
Identifier (Entity ID):https://localhost:44338/Contact.aspx
Reply URL (Assertion Consumer Service URL):https://localhost:44338/Contact.aspx
Sign on URL:https://localhost:44338/Contact.aspx
Relay State (Optional):Optional
Logout Url (Optional):https://localhost:44338/logout.aspx
http redirect
https://login.microsoftonline.com/917b668d-287a-412b-9705-74f0bbfe4df9/saml2?
SAMLRequest=lZFNa8MwDIb%2FSvA9H3XcYZskbKyXQLfDNnbYpaiOaUoTK4sU6P79THMdhV0F7%2FM%2BkiqCcZjsHk%2B48Jv%2FXjxxch2HQLVY5mAR6Ew2wOjJsrPvTy97K7PCjp6hAwaRtLtaHMCUZqOkT6UsXao63aVaFTo9Gu28guLBaCWSTz%2FTGUMtIiEGiRbfBmIIHEeFlGlMyO3HZms3xpbmSySrir1J3heaZmR0OIgmqW7kec0m92NA5GeOUqLpmSeyeT6gg6FHYqtUWer8GQOD4wxoulb5yo4lr5HV7v5bAhfq4eeIJ5jjxuVjvPqAeMkcjlW%2BIiM7%2F%2BMrzS8%3D
my data
<samlp:LogoutRequest xmlns="urn:oasis:names:tc:SAML:2.0:metadata" ID="_73a16faf-7437-42a2-8a9e-3885376ed895" Version="2.0" IssueInstant="2022-08-25T13:34:10Z" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">
<Issuer xmlns ="urn:oasis:names:tc:SAML:2.0:assertion">https://localhost:44338/Contact.aspx</Issuer>
<NameID xmlns ="urn:oasis:names:tc:SAML:2.0:assertion">emaiid</NameID>
</samlp:LogoutRequest>
stays on this url:
https://login.microsoftonline.com/917b668d-287a-412b-9705-74f0bbfe4df9/oauth2/logoutredirect?lc=1033