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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
robchiap
Regular Visitor

How to connect to REST API using Windows Auth when header API key is required

I'm in the process of writing a power query script to call one of our internal APIs. This service uses Windows Authentication but requires an header named "api-key." Since this is not on the Power BI list of allowed headers for this kind of call, I cannot get things to work. Is there a way to get around this restriction?

1 ACCEPTED SOLUTION

Hi , @robchiap 

It is recommended to create a support ticket .They may have better advice.

Once you create a support ticket and get any workaround, please kindly share it here for reference.
https://powerbi.microsoft.com/en-us/support/ 

Thanks a lot!

 

Best Regards,
Community Support Team _ Eason

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Thank you for the response, but that solution uses Anonymous authentication. Though I get the same error message as that OP, I'm required to use Windows authentication, which only allows certain headers to be used. 

Hi , @robchiap 

It is recommended to create a support ticket .They may have better advice.

Once you create a support ticket and get any workaround, please kindly share it here for reference.
https://powerbi.microsoft.com/en-us/support/ 

Thanks a lot!

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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