Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper II
Helper II

PowerBI Connection to Synergi life API


My API connection works well in Postman, but i was not able to establish/authenticate the connection in PowerBI. 

I tried, Web option and Advance editor. Anyhow, i am new to the API side, so not sure what went wrong. Here below i shared some screenshots, Please support
Request provides the response in Postman



One of the option i tried. Apart from below i tried, Basic option and entered the APIKey as a username and the API option.

Nothing works. 



Let me know if you need any more info. Thanks in advance

Community Support
Community Support

Hi @Peter_Jeyaraj_I ,


According to your description, to call this api in Power BI, you need to create an application in the Power BI Developer's Portal. This application provides reusable client ID and client key with which we can generate the embedded token required for the REST API.  link


Follow the steps in the following blog to test again.


If the problem is still not resolved, please point it out and provide related operation screenshoots. Looking forward to your feedback.

Best Regards,

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

Hi Henry, 

Thanks for your inputs. 

Getting below error msg when i try the "Authorize User" Step, while registering the app in PowerBI



Hi @Peter_Jeyaraj_I ,


Please log in Azure portal with the account registered that app and grant permissions.


Refer to the relevant official documentation as below:

Delegate application management administrator permissions - Azure AD | Microsoft Docs

Register an app to embed Power BI content in a Power BI embedded analytics application - Power BI | ...

Best Regards,

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

Hi @v-henryk-mstf ,


Added the permission via anyhow, still getting the same error msg. 


Getting below msg, when i try to get data via PowerBI. 


 First time exploring this API, so not sure whether i am following the right steps. If possible, could you please share the step by step process for API authentication in PowerBI.. It would be great help for me. 

It works now by using the token number generated from postman. hope I can able to proceed further. will come back if i stuck again

Hi @Peter_Jeyaraj_I ,


Thank you very much for your feedback. If the advice I provided was helpful to you, you can mark it as the correct solution to help the other members find it more quickly.

Looking forward to your reply.

Best Regards,

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

Hi @v-henryk-mstf , 

Moved to the 2nd step, but still i am getting the below erros while generating the token number. 


// Basic auth
authKey = "Basic ****************************",
url = "",
// bearer token
GetJson = Web.Contents(url,
Headers = [#"Authorization"=authKey,
Content = Text.ToBinary("grant_type=client_credentials")


Error msg




See the working http from postman



thanks in advance for your support


Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors