Manually uninstall the Customer-hosted Codebeamer AI
Step 1: Disable plugin connectivity
From the URL {{CODEBEAMER_BASE_URL}}/sysadmin/aiAtlasConfiguration.spr, for example: https://localhost:8080/sysadmin/aiAtlasConfiguration.spr, disable the connectivity to the following.
• PTC SaaS Platform analytics service—Clear the Allow detailed analytics checkbox and save the configuration
• Azure AD Authentication—Clear the configuration details and save the configuration.
Step 2: Uninstall OTEL Collector
1. Check if OTEL is installed.
helm list -n cbai-otel.
2. Uninstall OTEL.
helm uninstall otel-collector -n cbai-otel.
3. Verify the uninstallation.
kubectl get pods -n cbai-otel.
4. Optionally, delete the namespace if it is not required.
kubectl delete namespace cbai-otel
|
|
• OTEL collector is deployed in a separate namespace, cbai-otel.
• This must be removed before uninstallation since cb-ai-service depends on it for telemetry.
• If it is not removed:
◦ Logs may show OTEL export errors like StatusCode.UNAVAILABLE.
◦ Cleanup may be incomplete or delayed.
|
Step 3: Uninstall Codebeamer AI service from AKS
1. Get a list of Helm releases.
helm list -n cb-ai-service.
2. Uninstall the Codebeamer AI service.
helm uninstall cb-ai-service -n cb-ai-service
3. Verify that the pods are removed.
kubectl get pods -n cb-ai-service
Step 4: Remove Kubernetes namespace
To remove Kubernetes namespace from the portal, go to > > . Select Delete for the cb-ai-service.
To use the Azure CLI, refer to
kubectl delete | Kubernetes.
Step 5: Remove AKS diagnostic settings
To remove AKS diagnostic settings from the portal, go to > > . Select Delete for the <resource_group_name>-aks-diagnostics.
Step 6: Delete AKS Cluster
To delete AKS Cluster from the portal, go to > > . Select <resource_group_name>-cluster.
To use the Azure CLI, refer to
az aks | Microsoft Learn.
Step 7: Remove OpenAI diagnostic settings
To remove OpenAI diagnostic settings from the portal, go to > > . Find <resource_group_name>-openai-diagnostics and select Delete.
To use the Azure CLI, refer to
az monitor diagnostic-settings.
Step 8: Delete Private Endpoint
To delete Private Endpoints from the portal, go to > . Select <resource_group_name>-openai-pe.
Step 9: Remove OpenAI Model Deployments
To remove OpenAI Model Deployments from the portal, go to > > . Select gpt-4.1-mini-2025-04-14 and gpt-5-mini-2025-08-07.
Step 10: Remove Content Filter
To remove Content Filter from the portal, open your Azure OpenAI resource, <resource_group_name>-openai. Click Open in Azure AI Foundry. Go to > . Search and delete <resource_group_name>-content-filter.
Step 11: Remove Role Assignment
You can remove Role Assignment from the portal using the following options.
Option 1: Remove from Azure OpenAI resource
From the Azure portal, go to > > . Search for the role Cognitive Services OpenAI User. Identify the assigned principal, select the role, and click Remove.
Option 2: Remove from Managed Identity
From the Azure portal, go to > > > > . Click Remove.
Step 12: Delete Azure OpenAI account
To delete Azure OpenAI account from the portal, go to .Cognitive Services. Delete the <resource_group_name>-openai
|
|
After deleting the Azure OpenAI resource, the resource is soft deleted for ~48 hours. During this period, recreating a resource with the same name will fail
If you need to reuse the same resource name, either wait for the 48 hours retention period to expire or purge the soft-deleted resource manually.
|
Step 13: Remove Managed Identity
To remove Managed Identity from the portal, go to > . Delete <resource_group_name>-cluster-identity.
To use the Azure CLI, refer to
az identity | Microsoft Learn.
Step 14: Remove Private DNS Zone
|
|
• Private DNS Zone cannot be deleted while VNet links exist.
• Remove all VNet links and then delete the zone.
• This applies to portal and CLI workflows.
|
To remove Private DNS Zone from the portal, perform the following steps.
1. Delete VNet link, <resource_group_name>-vnet-link from the portal.
2. To delete Private DNS Zone, privatelink.openai.azure.com, go to > .
Step 15: Remove Virtual Network
To remove Virtual Network from the portal, go to > . Delete <resource_group_name>-vnet.
Step 16: Remove Log Analytics Workspace
To remove Log Analytics Workspace from the portal, go to > . Delete <resource_group_name>-law.
(Optional) Step 17: Remove App Registration
To remove App Registration from the portal, go to > . Search and delete <resource_group_name>-oauth.
To use the Azure CLI, refer to
az ad | Microsoft Learn.
Step 18: Remove Network Security Group
|
|
Before deleting, make sure that Network Security Group is not associated with any subnet or NIC. If associated, first detach it from AKS subnet, aks-subnet, and any linked network interfaces.
|
To delete Resource Group from the portal, go to Network Security Groups. Search and delete <resource_group_name>-aks-nsg.
Step 19: Delete Resource Group
To delete Resource Group from the portal, go to > . Delete <resource_group_name>.
To use the Azure CLI, refer to
az group | Microsoft Learn.
Step 20: Verify that no resources remain
Run the following and confirm that it returns no resources.
az resource list \
--resource-group <resource_group_name>
To use the Azure CLI, refer to
az resource | Microsoft Learn.