@MS Techie Thank you for posting your question on Microsoft Q&A platform. Apologies for delayed response!
MUA does not help you detect ransomware attacks. It offers better protection against threats including ransomware attacks by protecting these critical operations (like you mentioned) from being misused for deleting data if, say, one of the admin’s credentials are compromised or if the attacker has got access to certain resources.
Hope this clarifies!
----------------------------------------------------------------------------------------------------------------------
If the response helped, do "Accept Answer" and up-vote it