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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
MaulinDoshi
New Member

domains

I need help as to how can i get PBI domains->workspaces->reports through API call in a powershell script?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @MaulinDoshi,

According to your description, I think power bi cmdlet may suitable for your requirement. I'd like to suggest you take a look at following document if it helps. 

Power BI Cmdlets reference | Microsoft Learn

You can use some build-in methods in above model or try to use Invoke-PowerBIRestMethod to to invoke power bi rest API.

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @MaulinDoshi,

According to your description, I think power bi cmdlet may suitable for your requirement. I'd like to suggest you take a look at following document if it helps. 

Power BI Cmdlets reference | Microsoft Learn

You can use some build-in methods in above model or try to use Invoke-PowerBIRestMethod to to invoke power bi rest API.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.