Forum Discussion

tnhurst57's avatar
tnhurst57
New Member
2 years ago

dscmd asking for server when connection string is provided

Attempting to connect to my Power BI dataset in a workspace. Docs say either provide connection string - or server/database. Here the dialog:

dscmd csv myfile.csv --connectionstring "Data Source=powerbi://api.powerbi.com/v1.0/myorg/IBCE
_Dev;Initial Catalog=IB Targeting Dashboard" -q "EVALUATE 'Master'"
Error: You must specify a Server option

2 Replies

  • Hello tnhurst57,

     

    If dscmd is still requiring a server option despite the provided connection string, can you please try explicitly specifying the server and database separately:

    dscmd csv myfile.csv --server "powerbi://api.powerbi.com/v1.0/myorg/IBCE_Dev" --database "IB Targeting Dashboard" -q "EVALUATE 'Master'"
    

    Hope this helps.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi tnhurst57 ,

     

    Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

     

     

    Best Regards,

    Clara Gong

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.