Probably the department's fault for not using (presumably) Entra Conditional Access to restrict SSO to corporate devices / corporate subnets.
This is why if you're building a product, please give SSO for free (see sso.tax) - you shift responsibility, requirements and posture to the tenant's IdP.
Only a tech nerd would think the solution to massive overreach by government organizations and illegal use of mass surveillance tools is more technology from one of the participating technology companies...
Unfortunately that will make you a lot less money. The whole premise of the sso.tax seems based on that it's not intentional.
It is intentional and deliberate price discrimination to charge enterprises more. One example: why do you think enterprises don't just stack consumer/teams Codex or Claude subs with significant subsidies; given that all enterprise seats are API/PAYG now? SSO/IdP + ability to opt out of training globally