Forum Discussion
Power Bi Api issue
- Anonymous8 months ago
Hi Anonymous,
Thank you for posting your query in Microsoft Fabric Community Forum. Also, thanks to nielsvdc , lbendlin for those inputs on this thread.This usually happens when using client ID and secret. Workspace and report APIs work, but dataset APIs need some extra permissions. Please check if service principal access is enabled in Power BI Admin Portal and that your app has dataset permissions with admin consent. Also make sure the service principal is added to the workspace and you are calling the group-level dataset APIs.
After this, the dataset refresh and datasource APIs should work.
please go through with the below document hope it may resolve your IssueEmbed Power BI content in an embedded analytics application with service principal and an application secret - Power BI | Microsoft Learn
Enable service principal authentication for admin APIs - Microsoft Fabric | Microsoft Learn
Hope the above provided information help you resolve the issue, if you have any further concerns or queries, please feel free to reach out to us.Regards,
community Support Team.
Hi Anonymous,
Thank you for posting your query in Microsoft Fabric Community Forum. Also, thanks to nielsvdc , lbendlin for those inputs on this thread.
This usually happens when using client ID and secret. Workspace and report APIs work, but dataset APIs need some extra permissions. Please check if service principal access is enabled in Power BI Admin Portal and that your app has dataset permissions with admin consent. Also make sure the service principal is added to the workspace and you are calling the group-level dataset APIs.
After this, the dataset refresh and datasource APIs should work.
please go through with the below document hope it may resolve your Issue
Embed Power BI content in an embedded analytics application with service principal and an application secret - Power BI | Microsoft Learn
Enable service principal authentication for admin APIs - Microsoft Fabric | Microsoft Learn
Hope the above provided information help you resolve the issue, if you have any further concerns or queries, please feel free to reach out to us.
Regards,
community Support Team.
Hi Anonymous,
I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.
Regards,
Community Support Team.
- Anonymous8 months agoNot applicable
Hi Anonymous,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We are always here to support you.
Regards,
Community Support Team.