How can automatically drop user session

I use saml authentication over microsoft365. I configure time of life session on 7 day.After disabling the Microsoft account, the MatterMost session is still alive for some time. How can I automatically disable and drop session of users after disable account in microsoft 365.