Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
getting below error while accessing APIs from powerbi desktop. Please help me with the procedure to call the powerbi APIs from powerbi desktop.
Solved! Go to Solution.
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.
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.
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.
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.
Similar issue like yours. Please check , this may help you- https://community.powerbi.com/t5/Desktop/Details-quot-Access-to-the-resource-is-forbidden-quot/td-p/...