Questions tagged [powerbi-api]

66 questions
0
votes
0 answers

Power BI C# Api crashing on ExportToFileInGroupAsync

I'm attempting to use the microsoft power BI API to export a report a PDF file version. I'm able to successfully authenticate power BI with azure and can get a bearer token before making this call. The ExportToFileInGroupAsync(reportId, groupId,…
user1299379
  • 381
  • 2
  • 4
  • 13
0
votes
0 answers

PowerBI REST API request GetGroupsAsAdmin returns AggregateException. An attempt to filter out personal workspaces

I am retrieving data from Power BI Rest API following the instruction here: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin#grouptype A call to retrieve all data works ok. Here is the URL that works: $url =…
Oleg Kazanskyi
  • 196
  • 2
  • 13
0
votes
0 answers

Filter out Get-PowerBIActivityEvent values

Is there a way to filter out values from the Get-PowerBIActivityEvent powershell request? For example, I want to get a result without the "ViewReport" activity event but include all the other activities. The parameter -ActivityType accepts only…
Oleg Kazanskyi
  • 196
  • 2
  • 13
0
votes
1 answer

Problem in columns fetched PowerBI API audit log

I have been using PowerBI API to fetch the Audit log of PowerBI usages. From past 15 days, I was getting different column list previously BUT currently I am getting less columns from API itself. Can anyone suggest why this is happening? Details (API…
Robin
  • 85
  • 2
  • 12
0
votes
1 answer

Updating parameters in group using PowerBIClient C#

I'm trying to update a parameter of a powerbi dataset using the PowerBIClient class with C#. I can perform other method calls with no problem. I can get parameters. Updating parameter results in Bad Request. If I call the update method with non…
EmanuelGF
  • 645
  • 1
  • 6
  • 15
0
votes
0 answers

Create a landing page with custom login to view Power BI report

I am having an issue with my report. We have a finish report that is supposed to work kind of like an app-dashboard. Basically we will distribute the report to nearly 300 users, each one should be able to view only the info of their company and not…
0
votes
1 answer

Import .pbix report into workspace using PowerBI API / Powershell

I'm trying to upload PowerBI .pbix report stored on my local PC to PowerBI Service using Rest API. I haven't had problems exporting reports to my computer before, only agonizing over importing them to the server. Here is the documentation:…
Rafał
  • 51
  • 10
0
votes
0 answers

Can a guest user refresh a dataset in Power BI?

Can an invited guest user(external user) refresh a dataset in Power BI ? I am facing an issue with Scheduled refresh for Scorecard/Goal Dataset for an Invited/External user. It is always throwing an error. Can anyone please help ? I went through the…
0
votes
0 answers

PowerBI Create Dataset from a Postgresql datasource using REST API

I created a datasource behind gateway for using rest API. Datasource got created. However, now I want to add a table(create a dataset) from the created datasource to use it in a report. However, I am getting the below error from API. { "error":…
Aman Khandelwal
  • 148
  • 1
  • 13
0
votes
2 answers

Filtering REST API PowerBI results in Powershell

I am attempting to call the "Get Groups" REST API to return a list of all the workspaces I have access to in Power BI. I want to be able to add a filter to the API call and return only the workspaces whose names have the word "email" in them. I've…
crturner
  • 1
  • 1
0
votes
0 answers

Use a dynamic SQL Database for the datasource via Power BI API

I'm working with Power BI to create reports and call them from the Power BI API (through Visual Studio/C# in this case). I have a simple report that works when I call it from the API, but the problem I'm running into is the Data Source that's set…
0
votes
1 answer

Same code leads to errors in different projects

I'm currently using the Power BI Visuals API to transfer my D3 chord diagram into a power bi visual. I've been using the Microsoft Chord GitHub Repo as a starting reference. I'm creating the supporting classes, but I'm getting errors returned in…
0
votes
1 answer

PowerBI Permissions

I am trying to access the API to download usage statistics from PowerBI and integrate with other reports. When I run the below code import requests import json base_url = "https://api.powerbi.com/v1.0/myorg/admin/" url =…
Mike de H
  • 599
  • 2
  • 6
  • 13
0
votes
0 answers

Get contact information of MS PowerBI report

Need to find out the way to retrieve report contact information from report metadata. Couldn't find any relevant API to do it for multiple reports. Went through information provided here:…
0
votes
0 answers

How to get all the users from a report's direct access list

I would like to get all the users from a report's "Direct Access" list with Power Bi API. I tried to use https://api.powerbi.com/v1.0/myorg/admin/datasets/{datasetId}/users (documentation), but the response is just a Response Code: 401. I checked on…
GSeriousB
  • 237
  • 4
  • 14