I have used the below command to update my path mappings for azure web app but it does not actually add the mapping but still shows command execution successfull.
az resource update --name acusnpdsndweb06/config/web --resource-group azrg-tax-snd-m-dev --resource-type "Microsoft.Web/sites/config" --set properties.virtualApplications="[{\"physicalPath\":\"site\wwwroot\",\"preloadEnabled\":true,\"virtualDirectories\":null,\"virtualPath\":\"/\"},{\"physicalPath\":\"site\wwwroot\ConfigService\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/configService\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2020100516.2\",\"preloadEnabled\":true,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2020100516.2\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2020103014.2\",\"preloadEnabled\":true,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2020103014.2\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2020103018.1\",\"preloadEnabled\":true,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2020103018.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2020103021.1\",\"preloadEnabled\":true,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2020103021.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2020110421.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2020110421.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2020120707.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2020120707.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2020120810.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2020120810.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021020501.2\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021020501.2\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021021002.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021021002.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021033019.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021033019.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021033023.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021033023.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021033103.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021033103.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021033104.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021033104.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021040700.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021040700.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021040918.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021040918.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021061217.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021061217.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021072316.1\",\"preloadEnabled\":true,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021072316.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021072615.1\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021072615.1\"},{\"physicalPath\":\"site\wwwroot\FileManagerService\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerService\"},{\"physicalPath\":\"site\wwwroot\FMApiStoargeChangeTest\",\"preloadEnabled\":false,\"virtualDirectories\":null,\"virtualPath\":\"/FMApiStoargeChangeTest\"},{\"physicalPath\":\"site\wwwroot\FileManagerApi2021072719.1\",\"preloadEnabled\":false\"virtualDirectories\":null,\"virtualPath\":\"/FileManagerApi2021072719.1\"}]"
Please check