Unable to assign contacts to either ASN or Tenant Group objects #11172

Closed
opened 2025-12-29 21:41:18 +01:00 by adam · 1 comment
Owner

Originally created by @smiket9 on GitHub (May 14, 2025).

Deployment Type

NetBox Cloud

NetBox Version

4.2.0

Python Version

3.10

Steps to Reproduce

  1. Assign an existing contact via "Contact Assignment Bulk Import"
  2. Import a contact targeting either ASN or Tenant Group assignment, using object_type (tenancy.tenantgroup / ipam.asn), object_id, contact.id (using id to prevent duplication confusion), and role.

Expected Behavior

It is expected that contacts will be assigned to either a tenant group or ASN, like I managed to do using "Contact to Tenant" assignment.

Observed Behavior

Getting the below error (same error produced via the API attempt)

"Record 1: Contacts cannot be assigned to this object type (Tenancy | tenant group)."

Originally created by @smiket9 on GitHub (May 14, 2025). ### Deployment Type NetBox Cloud ### NetBox Version 4.2.0 ### Python Version 3.10 ### Steps to Reproduce 1. Assign an existing contact via "Contact Assignment Bulk Import" 2. Import a contact targeting either ASN or Tenant Group assignment, using object_type (tenancy.tenantgroup / ipam.asn), object_id, contact.id (using id to prevent duplication confusion), and role. ### Expected Behavior It is expected that contacts will be assigned to either a tenant group or ASN, like I managed to do using "Contact to Tenant" assignment. ### Observed Behavior Getting the below error (same error produced via the API attempt) "Record 1: Contacts cannot be assigned to this object type (Tenancy | tenant group)."
adam added the netbox label 2025-12-29 21:41:18 +01:00
adam closed this issue 2025-12-29 21:41:18 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 14, 2025):

As the error message indicates, these types of objects do not support contact assignment. Please submit a feature request if you'd like to propose adding contact support for these.

@jeremystretch commented on GitHub (May 14, 2025): As the error message indicates, these types of objects do not support contact assignment. Please submit a feature request if you'd like to propose adding contact support for these.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11172