Virtual_application not updated by terraform apply -refresh-only

I have a virtual application in an app service. When I run terraform apply -refresh-only the value for virtual_application in azurerm_windows_web_app.site_config.virtual_application is still empty. This is also showing up as a change made outside of Terraform if I update the state to include…
“virtual_application”: [

              {

                "physical_path": "site\\wwwroot",

                "preload": true,

                "virtual_directory": [],

                "virtual_path": "/"

              }

            ]

I am using azure provider 3.6.0