Forum Discussion
Programatically connecting to power BI premium workspace using workspace url
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.
HI TedPattison
I have eneabled XMLA Endpoint for ReadWrite and when i try to execute the above code am again getting the same error.
Could you please provide your inputs?
- TedPattison4 years agoMicrosoft Employee
I have given you all the ideas I have about what the problem might be and how to troubleshoot it. I cannot think of anything else that might be wrong. I think at this point, you should contact Microsoft support who can captire more diagnositc info that might help to troubleshoot this.