Skip to main content
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Frequent Visitor

Enable Use natural language to explore data with Power BI Q&A Using Rest API

How to enable Q&A on dataset using Rest API. it is possible to do it using Rest Api 


I am able to do it using online portal , but how to do it using rest api. 



Frequent Visitor

Hello  Team _ Rongtie, @v-rongtiep-msft  

for all our dataset both of the flags are off, but still it says Q&A not enable for dtaset. 


"isEffectiveIdentityRequired": false,
"isEffectiveIdentityRolesRequired": false


Below are the dataset details 


  "@odata.context": "$metadata#datasets/$entity",
  "id": "cef04318-fc92-47c6-9ef9-39fa3e3eb295",
  "name": "abc",
  "webUrl": "",
  "isRefreshable": false,
  "isEffectiveIdentityRequired": false,
  "isEffectiveIdentityRolesRequired": false,
  "isOnPremGatewayRequired": true,
  "targetStorageMode": "Abf",
  "createReportEmbedURL": "",
  "qnaEmbedURL": "",
  "upstreamDatasets": [],
  "users": [],
  "queryScaleOutSettings": {
    "autoSyncReadOnlyReplicas": true,
    "maxReadOnlyReplicas": 0





Only way to enable is by following below link, but i want to perform below step in code using SDK or rest api 

Community Support
Community Support

Hi @SamitDesai ,

Yes, it is possible to enable Q&A on a dataset using the Power BI REST API. You can use the "Update Dataset" API to enable Q&A on a dataset. To do this, you need to set the "IsEffectiveIdentityRequired" and "IsEffectiveIdentityRolesRequired" properties to "false" in the request body.

Here is an example of the request body:

  "isEffectiveIdentityRequired": false,
  "isEffectiveIdentityRolesRequired": false

You can use any REST client to send the request to the Power BI REST API endpoint. You need to authenticate the request using an Azure Active Directory (AAD) access token.

Please note that enabling Q&A on a dataset requires the dataset to be in a workspace that has a Premium capacity or a Power BI Embedded capacity.


How to Get Your Question Answered Quickly 


If it does not help, please provide more details .


Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors