Solution - The Application Encountered An Error While Attempting To Change The State

Introduction

Hyper-V virtual machine show the Network configuration Error Message (The Application encountered an error while attempting to change the state) problem 

Solution The Application encountered an error while attempting to chang the state

I will provide step by step with solutions screenshots below.

Select the virtual machine after clicking Right Navigation settings, find the problem in the virtual machine Network Adapter Network configuration

Solution The Application encountered an error while attempting to chang the state

Select Virtual Switch Manager 

Solution The Application encountered an error while attempting to chang the state

Select left Navigation New Virtual network switch after creating virtual switch

Solution The Application encountered an error while attempting to chang the state

 After selecting the virtual switch Properties 

Solution The Application encountered an error while attempting to chang the state

Solution The Application encountered an error while attempting to chang the state

Next go to the Network Adapter Network configuration Settings to change the new virtual switch

Solution The Application encountered an error while attempting to chang the state

Solution The Application encountered an error while attempting to chang the state

Now we should be able to connect to virtual machine without any error.

Solution The Application encountered an error while attempting to chang the state

Conclusion

This article taught us how to create a Resource Group in our azure portal. And if you have any questions please contact me.