I’m having this strange problem where the below section generates an error on the first run (push mode). Subsequent runs execute without issues. Directory gets created, but the step that maps volume to a folder can’t use it for whatever reason. Tried adding 10 seconds delay - no go.
PowerShell DSC resource MSFT_DiskAccessPath failed to execute Test-TargetResource functionality with error message: Access Path ‘U:\Data’ is not found.
Parameter name: AccessPath
CategoryInfo : InvalidOperation: ( , CimException
FullyQualifiedErrorId : ProviderOperationExecutionFailure
Any help would be appreciated.