This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I am trying to get the activity data from the Power BI REST APIs, using the Get Activity Events API call. Following the solution shown in the video: https://bielite.com/blog/building-a-power-bi-admin-report/
However, I keep getting the below error:
Expression.Error: The 'Authorization' header is only supported when connecting anonymously. These headers can be used with all authentication types: Accept, Accept-Charset, Accept-Encoding, Accept-Language, Cache-Control, Content-Type, If-Modified-Since, Prefer, Range, Referer
I am authenticating anonymously using the app which has tenant ready and write application permissions.
Appreciate if you can provide an guidance on how to fix this error. Below are the screenshots of my functions and query.
Solved! Go to Solution.
Hi @Anonymous ,
Please make sure your data source connection for the link is set as annonymous.
Steps : File > Option and settings > Data source settings
Then find the permission and Edit Permissions to check whether the connection type for the credential is anonymous.
It should look like as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please make sure your data source connection for the link is set as annonymous.
Steps : File > Option and settings > Data source settings
Then find the permission and Edit Permissions to check whether the connection type for the credential is anonymous.
It should look like as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 3 | |
| 3 | |
| 2 |