Azure Static WebApp: How do I call it from Power Query

Bryan Santos 85 Reputation points
2023-09-26T16:01:13.6466667+00:00

Hi there,

I got my first question deleted, could you please tell me what I did wrong? Previous question

I'm going to try a different approach. What I want to do is:

Make an API request to the Data API Builder feature through Power Query in Excel.

I've deployed an Azure Static Web App to host the Data API Builder feature, I've done all the configuration and followed the available tutorials. I've got the whole thing working fine, but I'm only able to pull data through the internet browser, when I try to pull it using Excel, it seems that the authentication flow can't redirect to the original URL and gets stuck on the /.auth/complete page.

What else should I do to be able to pull data through Excel? I noticed that if you get rid of all the security layers, I mean AAD, the redirect error doesn't occur, so that reinforces my thought about the auth flow.

Thank you!

Microsoft 365 and Office | Development | Other
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
{count} votes

1 answer

Sort by: Most helpful
  1. peiye zhu 320 Reputation points
    2023-09-30T03:11:01.5533333+00:00

    seems that the authentication flow can't redirect to the original URL and gets stuck on the /.auth/complete page Do you rent a web host?what authentication flow? if static web,there are no way to authorize fetch .html page as far as i know.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.