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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
I need to connect to the XMLA endpoint from a web application.
Normally if you call AdomdConnection.Open() from a client app then a UI is shown to allow the user to log in. Obviously this won't work for a web app.
I thought I might be able to register an App on Azure and grant it delegated read permissions for the users model/data, but
there doesn't seem to be such a permission available.
My plan was to to have the user log in, and once redirected to me I could add:
"Password=" + securityToken
to the connection string.
I suspect I'm going about this the wrong way, how can I connect to the XMLA endpoint without the AdomdClient trying to pop up a UI on the server?
Thanks
Colin
P.S. this needs to allow MFA, so sadly I can't just put the email/password in the connection string.
I;m trying to do a similar thing, did you get anywhere with this?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |