Automate Azure Azcopy Using Python On Windows
I am trying to use azcopy from python, I have already used this from CLI and it is working! I have successfully executted the following commands: for upload : set AZCOPY_SPA_CLIENT
Solution 1:
This is because the set
cmd does not set a permanent environment variable, it only takes effect in the current windows cmd prompt.
You should manually set the environment variable via UI or try to use setx
command.
I did a test by using your code, and manually set the environment variable of AZCOPY_SPA_CLIENT_SECRET
as per UI, then the code can run without issues(it may take a few minutes to take effect).
Test result is as below:
Post a Comment for "Automate Azure Azcopy Using Python On Windows"