damp-queen-61493
03/10/2022, 4:46 PMloud-island-88694
gentle-hamburger-31302
03/11/2022, 4:14 AMgentle-hamburger-31302
03/11/2022, 4:15 AMdamp-queen-61493
03/11/2022, 1:02 PMgetInfo endpoint without admin in workspace.
We need to set the parameters the get all information:
lineage=true
datasourceDetails=true
datasetSchema=true
datasetExpressions=true
getArtifactUsers=true
https://docs.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-post-workspace-infogentle-hamburger-31302
03/11/2022, 4:00 PMgentle-hamburger-31302
03/14/2022, 5:01 AMdamp-queen-61493
03/14/2022, 1:38 PMget_dashboards is not the Admin endpoint , instead, is the Get Dashboard endpoint that requires scopes Dashboard.ReadWrite.All or Dashboard.Read.All .
If only use admin endpoint, that required scopes are Tenant.Read.All or Tenant.ReadWrite.All, and so, we don't need to include service principal in every workspace.
The scan result already has information about the dashboards, I don't undestand why the get_dashboard functions tries to reach the api again.
(Sorry for my english, it's not my mother language)damp-queen-61493
03/14/2022, 1:40 PMgentle-hamburger-31302
03/15/2022, 5:50 AMgentle-hamburger-31302
03/15/2022, 5:50 AMdamp-queen-61493
03/15/2022, 8:11 PMgentle-hamburger-31302
03/16/2022, 3:44 AM