https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IyNDAyIiwiaGFzaCI6ImEzZGRkNGE1LTFkYWMtNGQyNy1hNGMyLWM5NTM4ZjNjNTgwOCJ9
1-800-691-1991 | 9am - 8pm ET
EN

vCenter tags collection/assignment using PowerCLI tool

Challenge

In some cases, Veeam ONE cannot collect or assign vCenter tags properly on vCenter 5.x versions. You can identify the issue by the following error messages in the Veeam ONE Reporter log files:
 
Failed to execute SOAP command "CInvSvcCreateCategory". Inventory Service was not created.
Can not Create tag with EXCEPTION: CreateCategory failed.
Failed to dispose inventory service proxy EXCEPTION: The remote server returned an error: (401) Unauthorized.

NOTE: In order to export the logs, follow this KB article.

Cause

As an alternative method, Veeam ONE can use PowerCLI tool to collect and assign tags on VMware vCenter 5.x.

Solution

Proceed with these steps to implement an alternative tags collection/assignment method:

1. Check whether the account used to connect vCenter Server and ESX(i) hosts have all the necessary permissions assigned.
2. Check that your Veeam ONE installation has version 9.5 Update 3 or later.
3. Install PowerCLI 6.5 on Veeam ONE server.
4. On the Veeam ONE server:
  • Open Windows registry editor snap-in and navigate to the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Reporter Enterprise\
  • Create a new registry key or modify the existing one:
Name:  TagsCollectingMethod
Type:   DWORD
Value:  1

5. Restart Veeam ONE services to apply the changes.

More information

Should you have any questions, contact Veeam Support.
KB ID:
2402
Product:
Veeam ONE
Version:
9.5
Published:
2017-12-19
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later