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
olimilo
Responsive Resident
Responsive Resident

Trying to make my a streaming dataset: "Unable to connect because credential type isn't supported"

I was following this post from Chris Webb's blog: https://blog.crossjoin.co.uk/2016/11/08/pushing-data-from-excel-to-power-bi-using-streaming-datasets...

 

let
    #"MyQuery" = ...
    ConvertToJson = Json.FromValue(#"MyQuery"),
    SendToPowerBI = Web.Contents(PowerBIStreamingDatasetURL, [Content=ConvertToJson, ManualStatusHandling={400,404}]),
    GetMetadata = Value.Metadata(SendToPowerBI),
    GetResponseCode = GetMetadata[Response.Status],
    CurrentTime = DateTime.ToText(DateTime.FixedLocalNow()),
    Output = #table({"Status"}, 
              {{
              if GetResponseCode=200 then 
               "Data updated successfully at " & CurrentTime 
              else 
               "Failure at " & CurrentTime}})
in
    Output

 

However, when I get to the SendToPowerBI step, I am asked for credentials. When I try to sign in using our organizational account, I get the error "Unable to connect because this credential type isn't supported for this resource." What credential type should I be using? I'm using the below connector to get my data from a web service:

 

= Json.Document(Web.Contents(WebAPIURL, [Timeout=#duration(0, 0, 30, 0), Headers=[#"User-Agent"="Power BI", Accept="application/apisource", #"Content-Type"="application/json", Authorization="Bearer ..."]]))
2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @olimilo ,

 

Tty to disable data privacy checks.

Refer:https://blog.crossjoin.co.uk/2017/07/04/data-privacy-settings-in-power-bipower-query-part-4-disablin... 

 

 

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

vanessafvg
Super User
Super User

i dont know the answer, but i do know if you respond to Chris's blog posts he will respond to maybe try that too?




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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.

Top Solution Authors
Top Kudoed Authors