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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Dawid_PH
New Member

Connection to Azure Insign using WebApi key

Hi, I have problem with connection to AzureInsight using Web API key authorization.

I create key in AI:

Dawid_PH_0-1655709740244.png

When I try send request using rest client, this working fine, using get and post:

Dawid_PH_1-1655709845733.png

But when try do this in PowerBI:

Dawid_PH_3-1655709985337.png

When I try connect using my credential (e-mail + password) all woroking fine.

 

I know I can do some workaround, and first save this in SQL, then get to reports, but I'd like know why I can't authenticate.

 

I using PowerBI desktop app.

2 REPLIES 2
Dawid_PH
New Member

In fact, it was a bit related to the permissions, because it turned out that I can't connect to SQL either, but I got the permissions, and then I can't connect to AzureInsight, so far I get the data in a different way.

v-luwang-msft
Community Support
Community Support

Hi @Dawid_PH ,

This maybe a permission/authentication error. When you ever connect to  your data source in an unauthorized account, the corresponding credential would be created. You may need to change credential,  go to “File –> Options and Settings –> Data Source Settings”, under “Global permissions”, select old SQL Server data source connections and click on Edit permission in Power BI Desktop, then connect to it and check if it is successful.

 

refer:

https://community.powerbi.com/t5/Desktop/We-couldn-t-authenticate-with-the-credentials-provided-Plea... 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors