Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Can we retrieve logged in user name from embedded website with the help of Power BI Query and pass the parameter to API which is the Data Source?
Getting the logged in user name is only possible when writing a custom data connector.
Yes right now , i trying it with custom connector. but my confusion here is when i would be embedding the report in my current website. I am using the Embed for the customers documentation for the same, where I have published the report and I am using the published report URL for Embed and other specifications as per the documentation and I am using the custom connector for api callls to fetch the data and where I want to change or add the parameter of user id so i can only fetch the access specific data based on website But the custom connector is using the mez file where I am doing the rest Api call.
I am also using the Personal Gateway. But as per my understanding the mez file is the build product of power query which we use as the data source. Now we want to add parameter in the URL which is the mez file or custom connector.
How should I get the changes done in the mez file.
Can you provide any sample code Or Specific Documentation for the same
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |