Forum Discussion
Find the mode type in a dataset through the API
Hi TexasBI
If you connect to your data source by API, I think you use Web connector. Web connector only support import mode.
If you use other connector to connect to your data source, you may refer to this blog for more details about supporting connection mode.
Here is a offical blog about Power BI Rest API. For reference: Power BI REST APIs
It seems that Power BI doesn't support you to change connection mode by API.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey Anonymous ,
Thank you for your response but this what not what I was talking about.
What I was asking is when I use the Power BI REST API to pull the metadata on the dataset from the Power BI Service, how can I determine what mode the dataset is in?