I'd like to configure IIS (8.5) on an Azure VM to log to an Azure Files Share.
I've proved access to the share by remoting onto the VM and persisting credentials using cmdkey and then navigating successfully via the UNC path in Windows Explorer.
When I configure the IIS logging directory to point to the same UNC path I see this unable to create log file error in the event log upon restarting IIS and browsing to a hosted site.
There doesn't seem to be a way to provide IIS with the credentials to use when it attempts to log to the Azure Files Share. Whilst exploring options I used the PSExec tool to persist the share credentials for the system account but that did not resolve the issue.
Any help much appreciated.