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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

Reply
bennet_mc
Regular Visitor

Power BI Service - Connect to Web API with advanced Header

Hello everyone,

 

I'm currently wondering how I can connect to the GitLab API through Power BI Service when creating a dataflow. As far as I know, in Power BI Service there isn't an interface for adding advanced headers to specify the GitLab personal access token:

bennet_mc_0-1720518256080.png

In Power BI Desktop, you have the option to add advanced headers for access tokens, but how do I do this in Power BI Service to create a dataflow connecting to the GitLab API? There's also an option to directly get the data through an empty query, but I'm not sure how to do that.

 

I would appreciate any form of help.

 

Thank you!

1 ACCEPTED SOLUTION
miguel
Community Admin
Community Admin

You can either manually create your M Script through a blank query or in the advanced editor or use another application (like Power BI Desktop or Excel) to create the query and copy:paste it into the Dataflow experience of your choice (link below on how to do that).

https://learn.microsoft.com/en-us/power-query/share-query

 

View solution in original post

2 REPLIES 2
miguel
Community Admin
Community Admin

You can either manually create your M Script through a blank query or in the advanced editor or use another application (like Power BI Desktop or Excel) to create the query and copy:paste it into the Dataflow experience of your choice (link below on how to do that).

https://learn.microsoft.com/en-us/power-query/share-query

 

v-yilong-msft
Community Support
Community Support

Hi @bennet_mc ,

As you said, there is no support on Power BI Service to add advanced headers for authentication to connect to the GitLab API.

I think you can start by performing the following steps on Power BI Desktop:

1. Open Power BI Desktop and go to > Web Get Data.

2. Enter the GitLab API URL and click OK.

3. In the Navigator window, select Advanced and add the necessary headers, including the GitLab Personal Access Token.

vyilongmsft_1-1720590634284.png

Then you can just upload the Desktop report to the Service side.

Also, if you can, I would suggest that you post to the Power BI Service forum as well, and there will be professionals there to answer your questions as well.

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors