Vmware DCLI + credstore error

Hi experts

I am unable to add a users to the credstore first time using DCLI commands  

I have logged into root VCSA then i go to DCLI +interactive

I then input

DCLI com Vmware cis tagging tag list +credstore-add +username user1

I then Enter the password  

Error message

Unknown command : DCLI com Vmware cis tagging tag list

I am new to this thanks in advance for your Help
Blue BerryAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
to use dcli you would require to install vcli

check this link

Blue BerryAuthor Commented:
That has been install on my computer

I am using Vmware workstation.
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
what version of vsphere environment u have ?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Blue BerryAuthor Commented:
VCSA 6.5
 Host 6.5

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
it looks like ur command is wrong , example why we have list at end when u are creating cresendialstore ?
Blue BerryAuthor Commented:
The following examples illustrate how you can interact with the credential store.
Add a new credential store entry.
dcli com vmware cis tagging tag list +credstore-add +username user1
Remove a credential store entry.
dcli +credstore-remove +server <server> +username user1
List all credential store entries.
dcli +credstore-list
Blue BerryAuthor Commented:
I have not done the command in Vcli only in DCLI
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
once you get in to interactive mode , do you see the prompt getting changed to dcli ?
Blue BerryAuthor Commented:
Yes it dose on the VCSA directly i have not done it on the vcli

As it dose not work on that
Blue BerryAuthor Commented:
Do I use vcli or DCLI
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
Please find the attached example.

Blue BerryAuthor Commented:
attached the result
Blue BerryAuthor Commented:
the last one i entered the command incorrectly
Blue BerryAuthor Commented:
Blue BerryAuthor Commented:
did not attach here it is
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
To have the it worked , please login with administrator@vsphere.local

The error posted you do not have access to run the command.
Blue BerryAuthor Commented:
The problem I have is the administrator has been removed form  administrator group vcenter client and I am unable to add it back into the group

This is the only administrator account I have
Blue BerryAuthor Commented:
What others permission do I need to get access to it
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
In that case you would required to deploy new vCenter server. If you have created snapshot any change you may revert back to time before you have removed the administrator.
Blue BerryAuthor Commented:
That is all
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.