Forum Discussion
Programatically connecting to power BI premium workspace using workspace url
As far as I can tell, the connection string looks fine. Can you confirm that this workspace is associated with a dedicated capacity?
Can you confirm your user ID is for a user with a Power BI Premium per User license.
Did you copy the URL from workspace setting to ensure it matches
- Anonymous4 years agoNot applicable
Am having Premium Per User license.
Please find the below screenshot for reference.
- TedPattison4 years agoMicrosoft Employee
OK, one more thing to check. The Capacity administrator has the ability to set the XMLA endpoint to Off, Read Only or Read Write. If it is set to Off, the behavior you are seeing is expected. Are you able to check the XMLA Endpoint setting in Capacity Settings in the Power BI Admin portal as shown in this screenshot? If you don't have Capacity Admin permissions, you will need to find someonbody who does.
- Anonymous4 years agoNot applicable
Do capacity settings will be available for premium per user account?
When am checking admin portal capacity settings are not available for my premium per user account.
- Anonymous4 years agoNot applicable
I tried with Username, Password and with Access token as well.
But am getting the same error in both cases.