Problem to import data #88
-
Hi Tobias, I generated a new API_KEY and added to my env :
But I still have an issue with the env : IntuneCD-startbackup -f https://intunecdmonitor.azurewebsites.net Best Regards |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 23 replies
-
Hi, You are missing environment variables for authentication, if you are running the backup interactively you can add the '-i' argument for interactive authentication. If you want to use client authentication you need to either set the env vars for 'CLIENT_ID', 'CLIENT_SECRET' and 'TENANT_NAME' or use a json where you specify the parameters. Authentication information can be found here: https://github.com/almenscorner/IntuneCD/wiki/Authentication |
Beta Was this translation helpful? Give feedback.
-
Hi, I will come back to you asap .. Thank you |
Beta Was this translation helpful? Give feedback.
-
Now the permissions are looking good @OMacload :) If you just do this on your Windows you should be good to go, open Advanced System Settings -> Environment variables, configure PYTHONUTF8 to 1 under System variables, restart the terminal |
Beta Was this translation helpful? Give feedback.
-
Hi, it s better now when I m using your script ! :) But if I try with the normal cmd line it doesn't work.. : IntuneCD-startbackup -f https://intunecdmonitor.azurewebsites.net IntuneCD-startbackup -f https://intunecdmonitor.azurewebsites.net |
Beta Was this translation helpful? Give feedback.
Hi,
You are missing environment variables for authentication, if you are running the backup interactively you can add the '-i' argument for interactive authentication.
If you want to use client authentication you need to either set the env vars for 'CLIENT_ID', 'CLIENT_SECRET' and 'TENANT_NAME' or use a json where you specify the parameters. Authentication information can be found here:
https://github.com/almenscorner/IntuneCD/wiki/Authentication