Unable to create virtual machines by using bash and powershell

That looks like bash; the error message indicates that the script you’re trying to run using “source” is trying to run sudo, and the current Linux user is not allowed to run sudo.

So where are you trying to run this script? It would appear that you do not have the needed rights in this context to do that.

I am having the exact same issue. I haven’t been able to run any of the scripts in this series because of this permissions issue. If my user can’t access /root/ or the scripts within, how can I execute them?

Is this for a specific lab? This will help clarify what’s going on here.

Thanks for your reply. I have had this issue with more than one lab, but have ended up just skipping through. The one that I am on now and am experiencing this is under: AZ-104 (Updated) > Administer Intersite Connectivity > Lab: Virtual Network Peering.

I am using the Bash terminal in the lab and have tried using sudo, but cannot get access to the script.

Thanks again for your help!