For legacy DMS accounts created earlier using username/password (non Silicon Labs account), this is fine. The command works as expected.
Though, user created a DMS account using Silicon Labs login (Salesforce OAuth), DMS will not accept username/password anymore. The reason here is authentication is done via Salesforce. DMS has no idea what is your password in this case as the password is not stored in DMS database.
The Solution:
In this case, a user token needs to be used as described below:
If you don't already have a Zentri DMS account, use your Silicon Labs login to create a free account at https://dms.zentri.com/
Log in to https://dms.zentri.com with your Silicon Labs login
Click the Profile link to go to profile
Choose the API Tokens tab (left side pane). This takes you to https://dms.zentri.com/account/tokens
Click Issue API Token
Copy the token to use as the argument to the "dms claim" command: dms_claim <username><token>
Note:
You can actually use any string for username with "dms claim" command. DMS is simply dropping it once a token is provided. This is just to allow backward compatibility as the command needs two arguments
ZentriOS: How to claim a device if you only have SiLabs DMS account
Introduction:
To start using your device with DMS, device needs to be claimed to user (i.e., associated with a DMS account). For more info, please see https://docs.zentri.com/zentrios/w/latest/cmd/commands#dms
The Problem:
For legacy DMS accounts created earlier using username/password (non Silicon Labs account), this is fine. The command works as expected.
Though, user created a DMS account using Silicon Labs login (Salesforce OAuth), DMS will not accept username/password anymore. The reason here is authentication is done via Salesforce. DMS has no idea what is your password in this case as the password is not stored in DMS database.
The Solution:
In this case, a user token needs to be used as described below:
If you don't already have a Zentri DMS account, use your Silicon Labs login to create a free account at https://dms.zentri.com/
Log in to https://dms.zentri.com with your Silicon Labs login
Click the Profile link to go to profile
Choose the API Tokens tab (left side pane). This takes you to https://dms.zentri.com/account/tokens
Click Issue API Token
Copy the token to use as the argument to the "dms claim" command: dms_claim <username><token>
Note:
You can actually use any string for username with "dms claim" command. DMS is simply dropping it once a token is provided. This is just to allow backward compatibility as the command needs two arguments