Symptoms:
- Deployments fail on updating tags with a 401 unauthorized error similar to:
Updating tags on virtual machine [VMName] on NSX-T policy endpoint.: FAILED with java.util.concurrent.CompletionException: com.vmware.vapi.std.errors.Unauthorized: Unauthorized (com.vmware.vapi.std.errors.unauthorized) => {messages = [], data = struct => {error_message=User is not authorized to perform this operation on the application. Please contact the system administrator to get access., httpStatus=FORBIDDEN, error_code=401, module_name=common-services}, errorType = UNAUTHORIZED}
- login to NSX directly with the configured service account user to test manually adding tags. If the add tag button is greyed out. Then the account is likely missing the required permissions.