I'm trying to Authorize my salesforce org to VSCODE using session Id as mentioned in the documentation. But it is not working. Can you please let me know what mistake I'm doing here.
sfdx force:config:set instanceUrl=https://na35.salesforce.com
(from documentation)sfdx force:mdapi:deploy --deploydir **md-dir** --targetusername **access-token**
Documentation link : https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_existing_access_token.htm
I'm getting the following error : ERROR running force:mdapi:deploy:report: Must pass a username and/or OAuth options when creating an AuthInfo instance.