Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Power BI Datasource Advanced Options

I am using Power BI Admin API to return information on data source type, dataset name, workspace for analyst to review and use for projects.  Is there an option or another API that would return SQL S...
  • v-robertq-msft's avatar
    4 years ago

    Hi, 

    According to your description, if you want to get the scan ID, you should understand that the scan ID is included in the response from the workspaces or get info API that triggered the scan.

    You can use this “Admin - WorkspaceInfo PostWorkspaceInfo” rest API to get the scan ID within the response body and enter the workspace ID you wanted to scan in the request body.

    To get the workspace ID, you can enter the workspace in the Power BI service and copy the ID after the "Group/"

     

    You can refer to this document:

    https://docs.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-post-workspace-info

     

    Best Regards,

    Community Support Team _Robert Qin