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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
revathi_p4
Frequent Visitor

how to access Powerbi service APIs from Powerbi Desktop

 

getting below error while accessing APIs from powerbi desktop. Please help me with the procedure to call the powerbi APIs from powerbi desktop. 

 

revathi_p4_0-1669704876898.png

 

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @revathi_p4 ,

 

Please check that the credentials have expired, clear the permissions, and try again.

You can try the following:

1.Open Power BI Desktop, when you already created visuals use the existing pbix.

2.go to File --> Options and settings --> Data source settings.
Check "Data sources in current file" and "Global permissions", mark any source and hit "Clear Permissions"; be aware that the source might not dissapear.

3.Close the Data source settings dialog.

4.Hit refresh.

 

You can also use a custom connector, which uses AAD authentication and doesn't require bearer tokens or refresh tokens. 

 

Please refer to the following document for more information.

GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector fo...

Calling Power BI API using Power BI Desktop to document Power BI Service - Prathy's Blog...

 

Best Regards,

Neeko Tang

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

View solution in original post

2 REPLIES 2
v-tangjie-msft
Community Support
Community Support

Hi @revathi_p4 ,

 

Please check that the credentials have expired, clear the permissions, and try again.

You can try the following:

1.Open Power BI Desktop, when you already created visuals use the existing pbix.

2.go to File --> Options and settings --> Data source settings.
Check "Data sources in current file" and "Global permissions", mark any source and hit "Clear Permissions"; be aware that the source might not dissapear.

3.Close the Data source settings dialog.

4.Hit refresh.

 

You can also use a custom connector, which uses AAD authentication and doesn't require bearer tokens or refresh tokens. 

 

Please refer to the following document for more information.

GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector fo...

Calling Power BI API using Power BI Desktop to document Power BI Service - Prathy's Blog...

 

Best Regards,

Neeko Tang

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

archuleta28
Resolver I
Resolver I

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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