Home > front end >  New-AzResourceGroupDeployment : Access to the path 'C:\Users\SONY\Desktop\ARM\storage.json
New-AzResourceGroupDeployment : Access to the path 'C:\Users\SONY\Desktop\ARM\storage.json

Time:02-17

I want to create ARM template but access is denied. [1]: https://i.stack.imgur.com/viz1f.png

CodePudding user response:

  • Try running the same PowerShell cmdlet New-azresoucegroupdeployment" in a new PowerShell session in admin mode.

  • The issue is the current powershell might be running in non admin mode and it does access to read the files that were present in c drive.

  • Related