Skip to content

Commit f8d7ccc

Browse files
authored
update readme for delete acc caphost (#353)
1 parent 30c4024 commit f8d7ccc

File tree

3 files changed

+50
-7
lines changed
  • samples/microsoft/infrastructure-setup
    • 15-private-network-standard-agent-setup
    • 16-private-network-standard-agent-apim-setup-preview
    • 17-private-network-standard-user-assigned-identity-agent-setup

3 files changed

+50
-7
lines changed

samples/microsoft/infrastructure-setup/15-private-network-standard-agent-setup/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,22 @@ This implementation gives you full control over the inbound and outbound communi
8686
- You must ensure the subnet is exclusively delegated to __Microsoft.App/environments__ and cannot be used by any other Azure resources.
8787

8888

89-
**Limitations:**
90-
- The capability host sub-resources of Resource/Project must be deleted before deleting the Resource/Project resource itself. You can use the script __deleteCaphost.sh__ located in this folder to delete it.
89+
### Account Deletion Prerequisites and Cleanup Guidance
90+
91+
Before deleting an **Account** resource, it is essential to first delete the associated **Account Capability Host**.
92+
Failure to do so may result in residual dependencies—such as subnets and other provisioned resources (e.g., ACA applications)—remaining linked to the capability host.
93+
This can lead to errors such as **"Subnet already in use"** when attempting to reuse the same subnet in a different account deployment.
94+
95+
**Cleanup Options**
96+
97+
**1. Full Account Removal**:
98+
You may delete and purge the account.
99+
The service will automatically handle the deletion of the associated capability host and any linked resources in the background.
100+
101+
**2. Retain Account, Remove Capability Host**:
102+
If you intend to retain the account but remove the capability host, you can use the script `deleteCaphost.sh` located in this folder.
103+
104+
> **Important**: Before deleting the account capability host, ensure that the **project capability host** is deleted.
91105
92106

93107
### Template Customization

samples/microsoft/infrastructure-setup/16-private-network-standard-agent-apim-setup-preview/README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,23 @@ This implementation gives you full control over the inbound and outbound communi
8888
- You must ensure the subnet is exclusively delegated to __Microsoft.App/environments__ and cannot be used by any other Azure resources.
8989

9090

91-
**Limitations:**
92-
- The capability host sub-resources of Resource/Project must be deleted before deleting the Resource/Project resource itself. You can use the script __deleteCaphost.sh__ located in this folder to delete it.
91+
### Account Deletion Prerequisites and Cleanup Guidance
92+
93+
Before deleting an **Account** resource, it is essential to first delete the associated **Account Capability Host**.
94+
Failure to do so may result in residual dependencies—such as subnets and other provisioned resources (e.g., ACA applications)—remaining linked to the capability host.
95+
This can lead to errors such as **"Subnet already in use"** when attempting to reuse the same subnet in a different account deployment.
96+
97+
**Cleanup Options**
98+
99+
**1. Full Account Removal**:
100+
You may delete and purge the account.
101+
The service will automatically handle the deletion of the associated capability host and any linked resources in the background.
102+
103+
**2. Retain Account, Remove Capability Host**:
104+
If you intend to retain the account but remove the capability host, you can use the script `deleteCaphost.sh` located in this folder.
105+
106+
> **Important**: Before deleting the account capability host, ensure that the **project capability host** is deleted.
107+
93108

94109

95110
### Template Customization

samples/microsoft/infrastructure-setup/17-private-network-standard-user-assigned-identity-agent-setup/README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,23 @@ This implementation gives you full control over the inbound and outbound communi
9090
- You must ensure the subnet is exclusively delegated to __Microsoft.App/environments__ and cannot be used by any other Azure resources.
9191

9292

93-
**Limitations:**
94-
- Class A is supported in a subset of regions supported by the Azure AI Foundry Agent service.
95-
- The capability host sub-resources of Resource/Project must be deleted before deleting the Resource/Project resource itself. You can use the script __deleteCaphost.sh__ located in this folder to delete it.
93+
### Account Deletion Prerequisites and Cleanup Guidance
94+
95+
Before deleting an **Account** resource, it is essential to first delete the associated **Account Capability Host**.
96+
Failure to do so may result in residual dependencies—such as subnets and other provisioned resources (e.g., ACA applications)—remaining linked to the capability host.
97+
This can lead to errors such as **"Subnet already in use"** when attempting to reuse the same subnet in a different account deployment.
98+
99+
**Cleanup Options**
100+
101+
**1. Full Account Removal**:
102+
You may delete and purge the account.
103+
The service will automatically handle the deletion of the associated capability host and any linked resources in the background.
104+
105+
**2. Retain Account, Remove Capability Host**:
106+
If you intend to retain the account but remove the capability host, you can use the script `deleteCaphost.sh` located in this folder.
107+
108+
> **Important**: Before deleting the account capability host, ensure that the **project capability host** is deleted.
109+
96110

97111

98112
### Template Customization

0 commit comments

Comments
 (0)