Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi, I need some suggestion how to solve my problem.
First of all Power BI can't have real time alert (audible) when some alert populate SQL Table. So I create custom MVC app that can alert and produce sound when there is "data insert into table". The data is linked to Power BI Reports so it can show daily trends and etc. My problem is user need to login with his/her Power BI Account to view Power BI Report in my app, so my app check if there is any access token in session, if not then prompt login page (see below)
https://login.windows.net/common/oauth2/authorize/?response_type=code&client_id=blahblahblah&resource=https%3a%2f%2fanalysis.windows.net%2fpowerbi%2fapi&redirect_uri=blahblahblah
I need to know how to get login information when the user sign in to get access token using this method OR How to use/push power BI login to my MVC app so user can see their own authorized report.
Thank you. Feel free to discuss it with me 🙂
Solved! Go to Solution.
Well, I have found the answer myself.
We can have the user info from Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult Object.
Well, I have found the answer myself.
We can have the user info from Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult Object.
@runrunrun wrote:
Hi, I need some suggestion how to solve my problem.
First of all Power BI can't have real time alert (audible) when some alert populate SQL Table. So I create custom MVC app that can alert and produce sound when there is "data insert into table". The data is linked to Power BI Reports so it can show daily trends and etc. My problem is user need to login with his/her Power BI Account to view Power BI Report in my app, so my app check if there is any access token in session, if not then prompt login page (see below)
https://login.windows.net/common/oauth2/authorize/?response_type=code&client_id=blahblahblah&resource=https%3a%2f%2fanalysis.windows.net%2fpowerbi%2fapi&redirect_uri=blahblahblahI need to know how to get login information when the user sign in to get access token using this method OR How to use/push power BI login to my MVC app so user can see their own authorized report.
Thank you. Feel free to discuss it with me 🙂
Check Row-level security (RLS) with Power BI. Note that RLS is a pro feature.
The User already have pro license, my problem is how to create mvc app (custom app that can create near real-time audible alarm in browser) that will using power bi login as credential. I can create my custom login page then user still login their power bi account, but double login like that won't be acceptable and it's not user friendly
Thanks
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |