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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
KeerthanA_99
Frequent Visitor

Power BI and Bitbucket Connection Issue

Hi Team,

I was using Power BI Desktop to connect with Bitbucket via web connection. This was working fine until last Friday using anonymous connection.

Now, I am facing an issue when trying to make a new connection and I am getting the below error

 

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="decorator" content="none"/>
<script src="/s/1395601366/40a434c/12vb6hw/5.1.15/.../download/resources/com.atlassian.plugins.authentication.atlassian-authentication-plugin:save-fragment/js.cookie.js"></script>
<script>
var expirationDate = new Date();
expirationDate.setTime(expirationDate.getTime() + 60000 * 5);
Cookies.set('atlassian-authentication-plugin-url-fragment_***', window.location.hash.substr(1), { expiration: expirationDate, path: '', secure: true, SameSite: 'None' });
window.location.assign(...)
</script>
</head>
<body>
<!-- Authentication redirect / connection failure -->
</body>
</html>

 

Since there is no official documentation available for Power BI and Bitbucket integration, I would like to know if anyone else has encountered this issue recently or if there are any updated steps/workarounds.

1 ACCEPTED SOLUTION
OktayPamuk80
Responsive Resident
Responsive Resident

I would ask the IT team, whether there has been an update or change in the firewall. Do they still allow anonymous connections? Try with a named user.

View solution in original post

8 REPLIES 8
Poojara_D12
Super User
Super User

Hi @KeerthanA_99 

ChatGPT said:

 

What you’re seeing is essentially an authentication redirect coming from Bitbucket’s side, not a Power BI issue directly. Until recently, Bitbucket allowed access to certain endpoints anonymously, which is why your web connection with the “Anonymous” option in Power BI worked. However, Atlassian (Bitbucket’s parent) has tightened authentication policies, and now your request is being intercepted by their authentication plugin, which sets cookies and tries to redirect you to a login flow. That’s why Power BI shows the raw HTML page instead of your data. Since there’s no official connector for Bitbucket in Power BI, many people rely on web connections or APIs, and those endpoints now typically require authentication via a username + app password (or OAuth). The workaround is to stop using the anonymous option and instead use “Basic” authentication in Power BI’s Web connector, supplying your Bitbucket username (or email) and an app password you generate in Bitbucket. Another approach is to call the Bitbucket REST API with the appropriate authentication headers, which you can do in Power Query with Web.Contents and headers for Authorization. In short, the anonymous method you were using is deprecated on Bitbucket’s side, and you’ll need to switch to authenticated API calls to continue pulling your data.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
v-prasare
Community Support
Community Support

May I ask if you have resolved this issue? If so, Can you please share the resolution steps here. This will be helpful for other community members who have similar problems to solve it faster.


If we don’t hear back, we’ll go ahead and close this thread. For any further discussions or questions, please start a new thread in the Microsoft Fabric Community Forum we’ll be happy to assist.
Thank you for being part of the Microsoft Fabric Community.

v-prasare
Community Support
Community Support

Hi @KeerthanA_99,

We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are

v-prasare
Community Support
Community Support

Hi @KeerthanA_99,

We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.

 

@Shahid12523 & @OktayPamuk80   thanks for your prompt response.

 

 

Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are

Shahid12523
Community Champion
Community Champion

The issue happens because Bitbucket no longer allows anonymous access.

To fix it, use authenticated access:

App Password: Create one in Bitbucket and use it with Power BI’s Web connector.

OAuth/Token: Use a personal access token if required.

Local clone: Pull the repo locally and connect Power BI to the files.

Shahed Shaikh
OktayPamuk80
Responsive Resident
Responsive Resident

I would ask the IT team, whether there has been an update or change in the firewall. Do they still allow anonymous connections? Try with a named user.

OktayPamuk80
Responsive Resident
Responsive Resident

Hi Keerthan,

From where are you connecting? Could it be that when it was working you connected from the company and later trying from Home-Office (or different location)?

Hi @OktayPamuk80 

 

Thanks for your response

Its the same issue, when the issue comes, it comes from office as well as home.

 

Thank you

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors