Trident Backend Fails on Azure Government Cloud: NoValidSubscriptionsInQueryRequest
Applies to
- NetApp Trident
- Azure NetApp Files (ANF) backend
- Deployments in Microsoft Azure US Government Cloud
- Kubernetes clusters using Trident for storage provisioning
Issue
- When deploying a Trident backend for Azure NetAppFiles (ANF) in the Azure US Government Cloud, backend creation fails with thefollowing error:
Failed to create backend: problem initializing storagedriver 'azure-netapp-files': error initializing azure-netapp-files SDK client.POST https://management.azure.com/providers/Microsoft.ResourceGraph/resources
Backend creation fails with NoValidSubscriptionsInQueryRequest despite correct environment settings in the Trident BackendConfig.
- Observed Behavior:
- Trident attempts to connect to the commercial Azure endpoint (management.azure.com) instead of the required US Gov endpoint (management.usgovcloudapi.net).
- The backend configuration includes environment: AzureUSGovernment, but this does not take effect.
- Trident backend creation is unsuccessful, blocking ANF provisioning in the GovCloud region.
