Forum Discussion

BartHuls's avatar
BartHuls
Icon for Helper I rankHelper I
1 year ago
Solved

How can I set the Capacity Settings of a Semantic model by code

I want to set the Capacity Settings of a Semantic model by code. How can I do this, 

in this case to set the XMLA Endpoint to Read/Write

 

 

  • If you provide me a working answer then I will accept it not some copy paste from the first google search

4 Replies

    • BartHuls's avatar
      BartHuls
      Icon for Helper I rankHelper I

      If you provide me a working answer then I will accept it not some copy paste from the first google search

      • v-saisrao-msft's avatar
        v-saisrao-msft
        Icon for Community Support rankCommunity Support

        Hi BartHuls,
        I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
        Thank you.

  • v-saisrao-msft's avatar
    v-saisrao-msft
    Icon for Community Support rankCommunity Support

    Hi BartHuls,
    Thank you for reaching out to the Microsoft Fabric Forum Community.

     

    As of now, Power BI does not support modifying the XMLA Endpoint access mode via REST API, PowerShell, or any other automation method. This setting is scoped at the capacity level (not the dataset level) and must be updated manually by a Power BI Service Administrator in the Admin Portal. 

    Submit your idea to Microsoft. If you get enough votes, they may consider in future. Raise your idea here 
    [Submit Your Idea]

     

    If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

     

    Thank you.