Azure-Samples / powerbi-powershell

Samples for calling the Power BI REST API via PowerShell
MIT License
256 stars 189 forks source link

copyWorkspace.ps1 code DOESN'T WORK!!! #13

Closed Tameshiwari closed 6 years ago

Tameshiwari commented 6 years ago

I would have liked to see a real proof of concept in action as this script doesn't seem to work at all. For sake of simplicity, I've first created 2 app workspaces on Power BI Online service. named projectoriginal and projectcopy respectively.
I then made sure to register an app on https://dev.powerbi.com/apps with Native app App Type option which generated a ClientID. Now when I'm running the code [with proper username and credentials], the code redundantly asks to enter the name of the workspace to copy from... Maybe I've missed something I tried with both projectoriginal name then with workspace GUID. Same thing...
No concise information is given on exact format... I did manage to run other scripts with success though this one stalls... too bad...