Comments (5)
Hi @ishackigozi,
This was due to the change in py42 1.19.3 which moved all the c42api/v3
endpoints to a standardized api versioning scheme in the cloud.
Since support for on-premises installations is end-of-life at the end of this month, we won't be altering new versions of py42 for on-premise deployments, but you should be able to downgrade your py42 installation to revert to the previous urls compatible with your on-premise server:
pip uninstall py42
pip install py42==1.19.2
I should also note that the CLI version 1.11.1 updates the minimum py42 requirement to 1.19.3, so CLI version 1.11.0 will also be the latest you'll be able to upgrade to for on-premise servers.
from code42cli.
Thank you so much. Works Like a Charm
from code42cli.
Hello Tim,
I am trying to deactivate several devices. For some reason, I used the same format of the columns for the .csv file obtained from running this command.
code42 devices list --active -f CSV > output.csv
I included the devices I wanted to deactivate in a .csv and run the command "code42 devices bulk deactivate List.csv -f CSV > deactivation_results.csv"
In the deactivation_results.csv, I am getting this error
False: The device with GUID 'SRA2030008499 SRA2030008499 Active 2022-02-09T11:13:36.269-05:00 2021-02-03T15:28:09.802-05:00 8.2.1 win 10.0.19041 7.90E+17' was not found.
Please advise on how I am supposed to have the columns in the .csv
Thanks Again,
Ishac
from code42cli.
Two things I see here:
- The
userUid
in the error was converted to scientific notation (7.90E+17
), which tells me this was probably edited with Excel. Use the following steps to import the CSV to make sure Excel isn't converting the large number uids: https://support.code42.com/Incydr/Admin/Monitoring_and_managing/Import_CSV_reports_to_Microsoft_Excel - The columns in the error aren't separated by commas, so make sure after editing the file is saved/exported to CSV correctly with commas separating each column. You might want to open the file in a plain text editor to make sure it looks similar to this:
computerId,guid,name,osHostname,status,lastConnected,creationDate,productVersion,osName,osVersion,userUid
123456789,987654321182727,DESKTOP-ABCDEFG,DESKTOP-ABCDEFG,"Active, Deauthorized",2020-12-28T09:13:27.910Z,2020-09-10T13:40:22.188Z,8.5.0,win,10.0.17134,9233020000000000
123456789,987654321182727,DESKTOP-XYZ123,DESKTOP-XYZ123,"Active, Deauthorized",2019-12-23T10:59:22.114Z,2019-12-04T10:03:48.252Z,7.4.0,win,10.0,9233020000000000
from code42cli.
Hello, My apologies for not communicating ahead of time.
I was able to get the csv file. Although, the deactivation does not work
Any pointers please.
deactivation_results.csv
from code42cli.
Related Issues (20)
- [Enhancement] Add functionality to legal-hold command HOT 6
- [Enhancement] Updating profile does not know to use the default profile when not specifying `-n` HOT 1
- [Enhancement] Support 2FA HOT 2
- [Enhancement] add Users command HOT 9
- [Enhancement] Adding license usage information to the users command HOT 4
- [Bug] Combining filter options in "devices list" leads to unexpected behavior HOT 1
- code42cli on headless ubuntu 20.04, how to unlock the keyring? HOT 2
- Add "orgs list" command HOT 3
- Enable support for going through proxy HOT 9
- [Enhancement] Getting started guide for admins starting from scratch HOT 2
- Add Push Restore Functionality to CLI
- [Enhancement] Include hostname and username in bulk deactivations
- [Bug] Query submits with no groups if checkpoint is used with include-non-exposure
- [Enhancement] Add workaround for deadlock during bulk deactivation
- [Bug] - Code42 logo is out of date
- [Enhancement] Allow Legal Hold Custodian user list generation
- [Enhancement] Include device GUID info in users show command
- [Bug] CLI does not return the Last Completed Backup data
- [Enhancement] add ability to export additional details about users when doing `code42 users list`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code42cli.