An Azure service that provides a hybrid, multi-cloud management platform for APIs.
It seems that the error "HTTP/1.1 409 Public access is not permitted on this storage account" indicates that the storage account is configured to disallow public access, which is expected since you mentioned that the public access option is set to "Disabled". Since you are using Azure API Management (APIM) in a Hub VNet with VNet integration enabled, and the storage account is in a spoke VNet with a private endpoint, it's crucial to ensure that the following configurations are correctly set up:
- Private Endpoint Configuration: Ensure that the private endpoint for the storage account is properly configured and that it is associated with the correct subnet in the spoke VNet.
- VNet Peering: Verify that the VNet peering between the Hub and Spoke VNets is correctly set up, allowing traffic to flow between them. Ensure that the peering settings allow forwarded traffic.
- Network Security Groups (NSGs): Check if there are any NSGs associated with the subnets that might be blocking traffic to the storage account.
- DNS Resolution: Ensure that the DNS settings are correctly configured so that the APIM can resolve the private endpoint's DNS name to its private IP address. You may need to set the
WEBSITE_DNS_SERVERapp setting in APIM to the DNS server used for resolution.
If all configurations are correct and the issue persists, you may want to use tools like Azure Storage Explorer to test connectivity to the storage account from within the VNet.
References: