Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

New-PowerBIReport - Problem with the path

I have a problem with the path but I don't know why :

Charline74_0-1661323780517.png

 

 

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

Are you excute the Powershell commands New-PowerBIReport  xxx in this official documentation? According to the error message, it seems that there is no related pbix file under the directory: C:\Users\cbonier\Documents\. Please check if it exist the pbix file named "REPORT FINANCE DEV.pbix" under the directory "C:\Users\cbonier\Documents\". If the file exist exactly, please try to rename the pbix file without spaces(for example:REPORTFINANCEDEV.pbix) and later check if it can execute the command successfully....

New-PowerBIReport -Path '.\report.pbix' -Name 'Report' -Workspace ( Get-PowerBIWorkspace -Name 'Team Workspace' )

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-yiruan-msft 

I have tried to do what you advised but it still doesn't work.

What I didn't specify is that I run the script via Azure DevOps

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.