Applies to Product- Power Automate
What’s happening?
Unable to access secrets from Azure Key Vault, receiving a 400 error indicating a network configuration issue.
Reason:
This arises when the environment is bound to an Enterprise Policy without a properly set up Subnet Delegation. The enforcement of going through a secure channel is looking for the wrong policy due to a change on the backend.
Resolution:
- Enable Subnet Delegation for the Azure Key Vault.
- Ensure that the Power Platform environment is a managed environment.
- Confirm that the Azure Subscription is in the same tenant as the Power Platform environment.
- Configure the Azure Key Vault with the appropriate access policies.
- Set up a Virtual Network (VNet) for Power Platform as per the official documentation.
- If the environment is linked to a "VNet" Enterprise Policy, follow the instructions for setting up the subnet and creating private endpoints for the Azure Key Vault.
- Ensure that the VNet link is enabled in Private DNS Zones if it is not created automatically.
