Forum Discussion
Refreshable Token for Power Bi Desktop
- Anonymous3 years ago
Hi KarenL7 ,
When using organizational account authentication in Power BI Desktop, it requires Azure Active Directory (AAD) account and credential.
Another way is to use basic authentication and enter personal access token in Power BI Desktop when connecting to VSTS. For more details, please review the following article and similar thread.
Client authentication options - Azure DevOps | Microsoft Learn
Solved: Access to the Resource is Forbidden - Microsoft Power BI Community
Expression.Error: Access to the Resource is Forbidden: Fix (windowsreport.com)
Best Regards
Community Support Team _ PollyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Further to my post above - I have now found out the following -
When using this had the error message -
I requested the access token elsewhere using different credentials and put it directly into my query to see if I could get any results and it worked straight away.
My question now is -
I can retrieve the token directly without any issues.
I have put this in a function which I call from another query
It then errors saying it is forbidden when trying to access a specific API website.
However using my admin credentials and not the ones that client app id etc. and add in the token directly the query works correctly.
Are there some permission issues that we need to change for this to work?
Thanks
Karen