Operation failedDatastore ##### is not accessible. "No connected and accessible host is attached to this datastore."vSphere 8.0
Generally, converting a VM template to a virtual machine will fail if the template is stored on an inaccessible datastore. If you encounter this failure even when the template resides on an accessible datastore, refer to the workaround provided in this KB.
To resolve this issue, create a clone of the affected template.
During the cloning process, you must select a valid destination datastore. This action creates a new copy of the template (or virtual machine) without the reference to the inaccessible datastore.
Refer to the following documentation for cloning procedures.