Automation

 View Only

SearchIndex ManagedObjectNotFound

  • 1.  SearchIndex ManagedObjectNotFound

    Posted May 09, 2023 04:40 PM

    Hi I am using searchIndex to find a vm.

    service_content = conn.handle.RetrieveContent()

    searchIndex = service_content.searchIndex

    searchIndex.findbyId() and i got error specifying searchIndex itself is not found.

    ManagedObjectNotFound: The object 'vim.SearchIndex:ha-searchindex' has already been deleted or has not been completely created

      How to the solve the problem with searchIndex