Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
385 views

I have a service principal configured to access Power BI. I can successfully use the REST API to get metadata about dashboards, reports, and datasets. What I can't seem to be able to do is get the ...
Dave's user avatar
  • 2,031
0 votes
1 answer
91 views

I am currently facing an issue to call the "POST import" endpoint of Power BI Rest API. I have to import a pbix file (that is far less than 1GB so that's good for that). My application uses ...
artragis's user avatar
  • 3,703
1 vote
0 answers
54 views

I am try to filter report before export but its not getting filter and even no error. Rest API: https://api.powerbi.com/v1.0/myorg/reports/reportId/ExportTo Code: using var client = new PowerBIClient(...
Cornelious Fazal's user avatar
0 votes
1 answer
45 views

I have a table called Stock, used as a dataset in PowerBI, exposing these columns: CustomerId ProductName Quantity The report (visual) is just a bar chart that shows how much of a product has each ...
sports's user avatar
  • 8,167
0 votes
0 answers
193 views

First off, I have a reportid, from there I have hit the api(GetReport) to get the datasetid.But now I wanted the corresponding workspaceid,How can I get it.
veerraju annamdevula's user avatar
2 votes
1 answer
603 views

I have been using the Power BI API to bind a gateway and a couple of datasources to a datamodel. However, my datamodel is also connected to a cloud datasource, which obviously has no gateway related. ...
Sergikito's user avatar
-1 votes
1 answer
82 views

Currently i am able to create semantic layer through fabric API(https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model?tabs=HTTP&tryIt=true&source=docs#...
Umesh's user avatar
  • 1
0 votes
0 answers
108 views

Using below code to query DMV, primary on system tables $SYSTEM.TMSCHEMA_TABLES, I dont have a client id and a secret rather I have a valid Power bi access token that has read write access to the ...
Joseph's user avatar
  • 590
0 votes
1 answer
698 views

Making a GET call to https://api.powerbi.com/v1.0/myorg/groups returns workspace. { "@odata.context": "https://wabi-canada-central-b-primary-redirect.analysis.windows.net/v1.0/myorg/...
Ahmed's user avatar
  • 37
0 votes
1 answer
428 views

I am using below API to get list of all reports present in a particular group/workspaceid GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports Now, I have a dataset in my workspace and ...
Joseph's user avatar
  • 590
1 vote
1 answer
118 views

I've got a bunch of storage accounts, all holding similar data but from different environments, and I'm trying to generate a report per storage account in an automated fashion. I've got a PBIX file ...
Tim Groothuis's user avatar
1 vote
1 answer
632 views

Suddenly I can not create new dataset schema for power bi report in Azure. While trying to create new dataset schema via rest API it is showing me error. The error is : "{\"error\":{\&...
mestu's user avatar
  • 118
0 votes
1 answer
789 views

I'm working on integrating Power BI Embedded using the REST API to retrieve the list of dashboards. I'm using client credentials flow with the correct client ID and client secret to obtain an access ...
Ritienne Gauci's user avatar
1 vote
1 answer
287 views

This is the example Request body provided by Microsoft to disable a PowerBi schedule refresh via the Rest API { "value": { "enabled": false } } When I call the API, using ...
Geezer's user avatar
  • 507
0 votes
1 answer
496 views

i'm currently developing a Powershell script to refresh a single table partition of my Power BI dataset using a POST API call through the Invoke-RestMethod. # Connect the Service Principal $password = ...
GianLuca Colaiacomo's user avatar
0 votes
0 answers
101 views

[] I am trying to get token through https://login.microsoftonline.com by passing clientid and client secret, the same request generate token through Postman successfully, but from C# HttpClient, It is ...
Naqi's user avatar
  • 144
1 vote
0 answers
285 views

The following Python script is written to access the data in the Power BI data warehouse externally. import json import requests from cred import username, password, client_id, client_secret, ...
Ramesh Madhubhashitha's user avatar
0 votes
1 answer
1k views

I'm encountering an issue with the Power BI REST API while attempting to access datasources for a specific dataset using the endpoint https://api.powerbi.com/v1.0/myorg/admin/datasets/{datasetId}/...
Agni200895's user avatar
0 votes
1 answer
6k views

I want to query the Power BI dataset using Power BI REST API, app to app authentication (Service Principal). I am getting Error 403 (access forbidden) when sending request to Power BI dataset. I have: ...
Anna's user avatar
  • 1
1 vote
1 answer
136 views

After conversion of json output into table in Power BI. However, I'm unable to transform above format into below format in Power BI. Any suggestion how I can solve this problem in Power BI. Thanks ...
Gaurav Dhawan's user avatar
2 votes
1 answer
401 views

Creating file in workspace with REST API: PUT https://onelake.dfs.fabric.microsoft.com/{workspace}/{item}.{itemtype}/Files/sample?resource=file Status code:401 Unauthorized Error: Authentication ...
Tobias's user avatar
  • 23
0 votes
1 answer
997 views

I am trying to embed a Power BI report into my Laravel project using the Power BI REST API. The report is loading successfully. However, I am facing issues with applying filters to the report, ...
ni9khil's user avatar
  • 13
0 votes
1 answer
804 views

I am trying to access Power BI web api from my web application. For msal, I can get the correct access token when I use PublicClientApplicationBuilder with my organizational email and password. but I ...
TanvirAhmedKhan's user avatar
1 vote
1 answer
1k views

When I using the REST API to update the Refresh Schedule: https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-refresh-schedule I need the specify settings for the schedule like below: ...
Joy's user avatar
  • 945
1 vote
0 answers
169 views

As we know, we could use the deployment pipeline only deploy the report or Dashboard from Dev environment to the next environment, like SIT. Now I want to use the powershell invoke the REST API to ...
Joy's user avatar
  • 945
1 vote
1 answer
629 views

I got this DMTS_UserNotFoundInADGraphError error when using Power BI REST Admin - Datasets GetDatasourcesAsAdmin API to get datasources. Here is the full error { "error":{ "...
Perat Damrongsiri's user avatar
0 votes
1 answer
1k views

I am looping across power bi reports>pages>visuals and then fields within them , the code to retrieve pages works fine, however there is an issue with visual url, in Visual response it says - No ...
Joseph's user avatar
  • 590
0 votes
0 answers
2k views

I am trying to audit Power BI reports and datasets to see who have access to which reports. Is there an API that allows to do so? Ideally, my output file should have at least three columns: report, ...
Mohsen Alam's user avatar
0 votes
1 answer
6k views

I am pretty new using APIs but i wanted to capture a couple of information regarding my dataset. I created an application in azure active directory and added bunch Power-Bi API permission (read.all). ...
arsh's user avatar
  • 11
0 votes
1 answer
2k views

I want to be able to get access tokens automatically without the need of user interaction (that is manually typing the credentials in an OAuth pop-out). I'm using grant_type: password for this; ...
Daniel Rivas's user avatar
1 vote
1 answer
484 views

I'm trying to get the powerbi apps details using the Azure Cloudshell, Here is the Powershell script i'm using, $secret="********" $tenantId="********" $appId="********" ...
Jishnu G S's user avatar
1 vote
0 answers
285 views

I successfuly used the "Gateways - Create Datasource" (https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/create-datasource) method from Power BI Rest API to create a SQL ...
Rafael Espirito Santo's user avatar
1 vote
1 answer
5k views

I'm working with Power Bi REST APIs, for which I need an azure ad token. I have set up an app in Azure AD, and have configured it as. a. I intend to use that access token in my react app so I have ...
navinrangar's user avatar
  • 1,504
0 votes
2 answers
3k views

I'm using powerbi-client-react npm package for my project. When I sign in in the report the azure sends an access token passing token and embed URL, I'm accessing the power bi report via React. The ...
Prabhakaran T's user avatar
4 votes
2 answers
4k views

Our goal is to query a dataset that is published to PowerBI via the REST APIs ( https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries ). I'm not talking about the metadata of ...
Mark Rullo's user avatar
  • 1,093
0 votes
1 answer
791 views

i have a web activity through which i am executing a rest API(execute queries) this is a sample output of that: { "results": [ { "tables"...
jitender singh's user avatar
2 votes
1 answer
2k views

I have created a report with Power BI Report Builder and published it on Power BI Service. I have found 3 steps to download report via API POST Request to start the process https://api.powerbi.com/v1....
A.D's user avatar
  • 57
0 votes
1 answer
744 views

I am trying to read the Sprint Capacity from Azure DevOps to PowerBi using REST API. I get this error, any solution to fix this? DataFormat.Error: We found extra characters at the end of JSON input. ...
supc's user avatar
  • 13
0 votes
1 answer
650 views

I want to use token authenticate for the Power BI REST APIs. Now I have a service principal, then I using the az command line to login in and generate the token: az login --service-principal -u ${...
Joy's user avatar
  • 945
1 vote
1 answer
2k views

we are trying to implement the following: We will have PowerBI reports for different scenarios. Each scenario has different data but it will use the same visual for the user. Therefore, we need to ...
Martin's user avatar
  • 303
1 vote
1 answer
729 views

So, I have a code like the following. $x = Invoke-PowerBIRestMethod -Url 'datasets/<dataset_id>/refreshes' -Method Get When I run it, the returned JSON data is like this, { "@odata....
MetallicPriest's user avatar
3 votes
0 answers
2k views

I am new come to the python, but I need to invoke Power BI REST API with python to publish my pbix file in my repo to the workspace. Based on this document, I could successfully authenticated and get ...
Joy's user avatar
  • 945
2 votes
1 answer
2k views

I have my Power BI application registered in Azure Active Directory with select API permissions (such as User.Read). I've done my best to follow the MSAL documentation, along with searching this ...
Bill's user avatar
  • 31
0 votes
0 answers
547 views

I have 2 workspaces: Workspace A hosted on tenant A: Vendor workspace which contains the product PBIX. "Golden workspace". Workspace B: Client workspace, hosted on tenants B, client ...
Tal_87_il's user avatar
0 votes
1 answer
195 views

Context : we're having our powerbi dashboards embedded either as a whole report or only standalone visuals. We want to translate the content of our reports in several languages. some of it can be ...
Chris's user avatar
  • 29
0 votes
0 answers
774 views

I've been working on a way to retrieve our PowerBI data, and managed to get exactly all the data I'd need to process, however I can't seem to figure out on how to actually parse the data to a proper ...
Davyk's user avatar
  • 1
1 vote
1 answer
1k views

I'm trying to call a PowerBI GETinfo Scanner API using PowerShell. One of the requirements is to pass multiple workspaces to get the info. Here is the MS doc link :\ https://learn.microsoft.com/en-us/...
Sanjibsrkr's user avatar
0 votes
1 answer
731 views

Hello dear PBI REST API experts, I would appreciate any support on the following issue. Trying to send data from MongoDB Atlas to Power BI Push Dataset through Rest API. However I met the following ...
katilinas's user avatar
3 votes
2 answers
2k views

I try to refresh a Power BI Premium dataset programmatically by sending post request to PBI API endpoint: datasets//refreshes. The documentation (https://learn.microsoft.com/en-us/power-bi/connect-...
Luukv93's user avatar
  • 359
3 votes
1 answer
780 views

I have a Problem Updating the Server details in the dataset of the uploaded power bi Report. Please Help. Here I used 2 approaches. Approach 1 Used the below method in Microsoft.PowerBI.Api.V2 ...
Neehar Gadam's user avatar