Hi anonymous user-2453,
>Windows Management Instrumentation has stopped WMIPRVSE.EXE because a quota reached a warning value. Quota: HandleCount Value: 37458 Maximum value: 4096 >>WMIPRVSE PID: 5332 Providers hosted in this process: C:\Program Files\Microsoft SQL Server\130\Shared\sqlmgmprovider.dll, C:\Program Files\Microsoft SQL >>Server\130\Shared\sqlmgmprovider.dll
It looks like this is a WMI issue. I would recommend you to read this blog-WMI: How to Troubleshoot WMI High Handle Count.
Based on the application log information you provided, because the handle quota is much higher than the set limit, you may need to perform data collection to find out the cause of the high handle count.
If possible, stop the always on availability group role in the failover cluster manager Before trying to enable the AOAG feature. But this will shut down the availability group and make the databases temporarily unavailable.Please decide based on your environment, this is just an attempt.
Please also refer to this similar case.
If the answer is helpful, please click "Accept Answer" and upvote it.
What can I do if my transaction log is full?--- Hot issues November
How to convert Profiler trace into a SQL Server table -- Hot issues November