vCenter tags collection/assignment using PowerCLI tool

KB ID: 2402
Product: Veeam ONE
Version: 9.5
Published: 2017-12-19
Last Modified: 2020-08-13
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

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.
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.