Reset devices to unallocated when deleting a tenant

Description

Given I have a tenant with configured devices
Given I delete the tenant
When I plug the phone
Then the phone is still configured with the account of the deleted tenant

Expected: the phone is configured for autoprovisioning

Workaround: use a script to reset orphan devices:

wget https://raw.githubusercontent.com/wazo-platform/xivo-tools/master/phone-provisioning/move-orphan-devices-to-master-tenant.py -O /tmp/move-orphan-devices-to-master-tenant.py python3 /tmp/move-orphan-devices-to-master-tenant.py

Zendesk Ticket IDs

None

Activity

Show:
Done

Details

Priority

Assignee

Reporter

Approvers

Sébastien Duthil

Fix versions

Sprint

Zendesk Support

1

Created February 1, 2022 at 4:26 PM
Updated April 14, 2022 at 2:56 PM
Resolved March 24, 2022 at 7:42 PM