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.
I am currently trying to make a call to the power b.i a.p.i so that I can use it for my application and understand how to make api calls to microsoft api's. I have not been able to get a response from the api. I get an unauthorized error, that no access control allow origin header is present on the requested resource. I come from a front-end background where I am used to making API calls using javascript and angular.js. I am not familiar with the microsoft API and how it must be authorized. I have tried to read articles but they go over my head.
The errors are as follows-
nope
Repository with my project code- https://github.com/Renniesb/sample_dashboard/tree/gh-pages
File with Power B.I API call - https://github.com/Renniesb/sample_dashboard/blob/gh-pages/app/services/powerbi.service.js
Test site: https://Renniesb.github.io/sample_dashboard. To test I authorize with my credentials. How would I let users of this forum test the behavior. How do I enable their credentials?
Used the JSONP hack to attempt to get around CORS problem.
Tested the site both locally and on a webpage on github
Hi.
Here are some samples for embedding:
https://github.com/Microsoft/PowerBI-Developer-Samples
Here are some getting started notes:
https://docs.microsoft.com/en-us/power-bi/developer/embedding
Eli.
Hi @R3NNIE!
Have you find any solution to the problem?
I'm in the same situation with the same error.
Thanks!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |