504 - Gateway Timeout Error
I have an automation that creates a Key Vault that allows public access from specific virtual networks. It also sets up a virtual network for the Application Gateway WAF V2 and provisions a Web App. To grant the Application Gateway access to the Key Vault, the automation assigns the Application Gateway's Managed Identity to the Key Vault's access policies. Additionally, it configures the Key Vault to permit access from the virtual network and the specified public IP address. Despite these configurations, I am encountering a 504 Gateway Timeout error. I have also tried increasing the backend settings timeout to 120. What configurations could be missing?