cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
robertoitu
Regular Visitor

Doubt about how to send POST Rows via POST to DataSet in PowerBI DataSet

Helo,

I am a free user, thinking about becoming a Pro user, I'm having some problems on how to send Post Rows to PowerBi REST API, I have a RealTimeData created in my account and I've tried to send POST rows through POSTMAN and I succeed, I collected the code in POSTMAN (it gives us how to send data in the code of our choice) in PHP and have sent to POWERBI REST API, but it doesn't work, but when I go back to POSTMAN it works ! Do I have to send a Token together ? Why does it work through POSTMAN if it also doesn't have a token too ? How can I get a token ? Is it possible for a free user ? Dou you have an example on how to send it through PHP ?

2 REPLIES 2
amitchandak
Super User IV
Super User IV

Hi @amitchandak !

 

Unfortunately it didn't work, I did just as the link you've sent instructed and got a register app in the Azure with its Id and Password, but when I used in Postman to send POST to get my Token, the answer is as described below: (I still have the doubt if it's necessary to have a Pro License in PowerBI to send Pushes to POWERBI REST API, but I'm tending to think in this way):

 

"error""invalid_grant",
    "error_description""AADSTS65001: The user or administrator has not consented to use the application with ID 'xxxxxxxxxxx named 'RobertoItu'. Send an interactive authorization request for this user and resource.\r\nTrace ID: xxxxxxxxxxxxx\r\nCorrelation ID: 1d1d6112-eb97-44e8-82fa-d0970395df77\r\nTimestamp: 2020-05-21 14:38:20Z",
    "error_codes": [
        65001
    ],
    "timestamp""2020-05-21 14:38:20Z",
    "trace_id""xxxxxxxxxxxxxxx",
    "correlation_id""xxxxxxxxxxxxxxxxxxxxx",
    "suberror""consent_required"

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

secondImage

The largest Power BI virtual conference

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

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.