While trying to delete a file in the Azure Storage File Share. I continuously get following error:
Failed to delete file 'cs-firstName-lastname-domain-com-10033fff99999999/mslearn-my-app-folder-word-and-word-wd/.git/objects/pack/pack-someguid.idx'. Error: The specified resource is read-only and cannot be modified at this time
Tried to check if there are any current open handles but I see none. https://docs.microsoft.com/en-us/rest/api/storageservices/list-handles
<?xml version="1.0" encoding="utf-8"?>
<EnumerationResults>
<Entries />
<NextMarker />
</EnumerationResults>
Also, I tried to connect to this Azure file share from Windows by running powershell cmdlet New-PSDrive, but there too and using Remove-Item, getting below error
Remove-Item : Cannot remove item
Z:\mslearn-my-app-folder-word-and-word-wd/.git/objects/pack/pack-someguid.idx: **You
do not have sufficient access rights to perform this operation**.
Any help, about how to change the property from read-only/ how can I delete/ or anything which I am missing.
Thanks,