Forum Discussion
Web Content - Access Method - WWW-Authenticate header doesn't contain a valid authorization URI
There is something changed since 5th April, the API data sources are complaining with same error message-WWW-Authenticate header doesn't contain a valid authorization URI.
Is there a solution to fix this error. It shows up when you go for Organizational Authentication.
- Anonymous4 years agoNot applicable
Found a work around for this, which would be hepful and would transition from APIs to Sharepoint-
1. Add the Microsoft form to the "Form Group Name" Forms Group.
This can be done by opening the forms home page, scroll to bottom and click on "All My Forms". On the next page, click on ellipses and choose "Move".( We'll first try to copy the form and responses, and will then see how it goes.)2. After the form is moved, Open the form again from "All My Forms" Page, and then Open responses in excel, Go to File Menu -> Info-> Copy Path.
3. Change the source in the pbix to the new SharePoint web link.
- MaryF4 years agoAdvocate II
Many thanks Pranay, that worked for me.
For others, I've created a more detailed Step-bystep guide. Note this is for connecting to Forms and assumes you have SharePoint online:
- Go to SharePoint and create a site, I called mine My Forms
- Go back to Forms scroll to the bottom of the page, click on All My Forms on right hand side
- On the form you need you notice an ellipsis (…) at bottom right, click on move to Group
- You should see your recently created site, select it and the form will move to that area
- Go back to your Forms landing page and you'll see your form, now when you click on it & go to responses choose Open in Excel
- From Excel online, go to File | Info | Open in Desktop App - this will download a copy.
- From the copy go to File | Info | Copy Path E.g., https://mysharepoint.sharepoint.com/sites/MyForms/Shared%20Documents/NameOfForm.xlsx?web=1
- Now in Power BI create a new query, this time from Web and paste in the content from your clipboard | IMPORTANT Remove the ?web=1 part
- You may need to sign in again, but this time you should see the content of your form, which will go on to include any new responses.
- LPE4 years agoNew Member
Hello MaryF,
Thank you for this super clear guide. I tried it out and do not receive the same connection error but I dont see the values in the table anymore. Did I miss something in the URL content that would allow me to get the content of the forms?
Thanks for your help 🙂
- jstovall4 years agoRegular Visitor
We tried this with a test form but we're still running into the same authentication issues.
Update - so I got this this method to work via the sharepoint folder connection (I missunderstood the instructions) but it changed the link to the original form which stinks and I haven't tried this yet with the actual survey responses so there may be other challenges to consider. I'm just frustrated by the abrupt nature of the change, lack of acknowledgement by MSFT, and general lack of a BI data connector for Forms, necessistating all these work arounds.
Second update: So Anonymous's solution of moving the form to a group works great (the old forms link automatically redirects so no need to deploy a new URL). you'll have to modify your power query to shift the source from a Web Connect to a SharePoint folder. We had to rebuild our transformation steps but that was pretty straight forward and we didn't run in to any other issues.
- Anonymous4 years agoNot applicable
Good day.
I tried the above steps and I still run into the same issue.
- Fz8J1m4 years agoNew Member
Have you found the answer to this issue? My team and I are struggling with the same issue.
- Anonymous4 years agoNot applicable
I am having the same issue. The connection was working perfectly on the 5th and now I am getting an error.
- rchandrasekaran4 years agoNew Member
We are facing the same issue , unable to authenticate while connecting ,getting below error
Something went wrong
It looks like the refresh token expired. Please go to this dataset's settings page, and reenter the OAuth2 credentials for the Web data source.
Please try again later or contact support. If you contact support, please provide these details.Hide details- Underlying error messageThe WWW-Authenticate header doesn't contain a valid authorization URI. Header value: 'Bearer'