Forum Discussion

pcowman1's avatar
pcowman1
Helper I
7 years ago
Solved

pbiviz --create-cert Error unknown option

I'm getting an error when I use the command: pbiviz --create-cert

I installed the tools per: npm i -g powerbi-visuals-tools  and it went fine.

 

Now I get this:

Has anyone else seen this?

  • I can't find any updated documentation to this effect (unfortunately), but the latest tools (3.0 and above) just uses the --install-cert parameter, which does the create and install in one step.

    If you run pbiviz with that parameter, you'll get the cert passphrase in the console window, which you can copy/paste into the install dialog when prompted.

2 Replies

  • dm-p's avatar
    dm-p
    Super User

    I can't find any updated documentation to this effect (unfortunately), but the latest tools (3.0 and above) just uses the --install-cert parameter, which does the create and install in one step.

    If you run pbiviz with that parameter, you'll get the cert passphrase in the console window, which you can copy/paste into the install dialog when prompted.

    • pcowman1's avatar
      pcowman1
      Helper I

      thank you. That fixed it. i guess they haven't updated the instructions on the MS page to reflect the new code.