Situation Delete Project:
Given a project with an Active Directory integration attached to it and there are deployments with machines created in the Active Directory when we delete the project while there are Active Directory resources attached, we receive a 403 FORBIDDEN Exception when we to view the projects tab for the Active Directory Integration
The reason this happens while deleting project is because Active Directory Integration currently does not support deletion of a project before deletion of the resources attached with the Active Directory integration.
Note: If you are on a VRA version >= 8.12.0 then we do prevent the deletion of a project if there is an Active Directory Integration assigned to that project.
Workaround:
Below are the steps to workaround:
NOTE: Before proceeding make sure to backup of the environment prior to making any changes to DB.
UPDATE ad_integration_project_association set project_id='NEW_PROJECT_ID' WHERE project_id='OLD_PROJECT_ID';
UPDATE ad_integration_project_association set project_id='NEW_PROJECT_ID' WHERE project_name='OLD_PROJECT_NAME';
3. Situation Purge All Records and Delete Entire AD Integration
Note: This should only be done in the use case where the Customer wants to disassociate the AD Integration in VRA with the AD Server and the machines in it. It's used when customers have their own solution of managing the AD Machines and no longer rely on the AD Integration and want to delete the integration. Typically customers have moved to other solutions such as using VRO Workflows