Comments (23)
Could you please share with us more info about what function from the connector was used to trigger this error?
The field datasetId is being referenced in multiple parts of the Custom Connector, we don't really know which of the functions that references the datasetId is having the issue for your environment.
from powerbirestapi.
Hi Miguel,
Its blocking failing in Reports table in the custom connector
from powerbirestapi.
@klinejordan would you mind taking a look ? Canβt repro
from powerbirestapi.
Fixed - MSFT changed the behavior for Paginated Reports (now showing with a different report type and NULL dataset ID). @bsaragadam Can you validate?
from powerbirestapi.
yes, its working now
thank you
from powerbirestapi.
@migueesc123 / @klinejordan
Again failing with the same error for the paginated reports
Is there any change again from MSFT ??
from powerbirestapi.
I am not seeing any failures for paginated reports so I can't reproduce, can you post the error message you're getting?
from powerbirestapi.
Underlying error code: | -2147467259 Table: Reports. |
---|---|
Underlying error message: | The field 'datasetId' of the record wasn't found. |
DM_ErrorDetailNameCode_UnderlyingHResult: | -2147467259 |
Microsoft.Data.Mashup.ValueError.Reason: | Expression.Error |
Microsoft.Data.Mashup.ValueError.embedUrl: | https://app.powerbi.com/rdlEmbed?reportId=XXXXXXXXXXXXXXXXXXXXX |
&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM6Ly9XQUJJLVdFU1QtVVMtcmVkaXJlY3QuYW5hbHlzaXMud2luZG93cy5uZXQifQ%3d%3d | |
Microsoft.Data.Mashup.ValueError.id: | 036a5849-16f8-4e9f-805d-298100e6e079 |
Microsoft.Data.Mashup.ValueError.isFromPbix: | False |
Microsoft.Data.Mashup.ValueError.isOwnedByMe: | True |
Microsoft.Data.Mashup.ValueError.name: | Mandatory Time Off Self Report |
Microsoft.Data.Mashup.ValueError.reportType: | PaginatedReport |
Microsoft.Data.Mashup.ValueError.webUrl: | https://app.powerbi.com/groups/50188c72-1ea3-4707-9061-fdeabc8ff73d/rdlreports/XXXXXXXXXXXXXXXXX |
Cluster URI: | WABI-WEST-US-redirect.analysis.windows.net |
Activity ID: | 1fd650b0-7582-4ccb-b906-756823ef36cb |
Request ID: | a0501f88-2da9-3de4-b09f-0ab90c3f3d2b |
Time: | 2019-11-27 16:23:38Z |
from powerbirestapi.
Okay, are you sure you're still using the latest version of the connector? I can't reproduce that error, all my paginated reports return a NULL dataset ID as they don't have datasets (that's intended behavior)
from powerbirestapi.
@klinejordan Yes its working fine with the latest App and I have the other question to pull the data from Power BI Service Admin table do we need the both TenantRead.All/TenatRead.Write.All permission ??
I have tried with TenantRead.All permission and failing with the error message with 401 unauthorized.
could you provide the required permissions for the tenant level to extract the data
from powerbirestapi.
Per https://docs.microsoft.com/en-us/power-bi/developer/power-bi-permissions, you need to grant all permissions, not just read. We don't control what permissions are used and why, we're just following the documentation provided by MSFT.
from powerbirestapi.
Yes @klinejordan I have all the above permissions but its failed with Authentication while connecting to the Power BI Service admin table
from powerbirestapi.
For that section you need to be a Power BI service admin role. Are you able to get that role or elevate your privs?
from powerbirestapi.
@klinejordan Yes, I have the Power BI Service admin role but getting the above error.
from powerbirestapi.
Just added the fiddler error message from the fiddler while trying to load the Power BI Service Admin table from the connector
from powerbirestapi.
@klinejordan I'm having the Power BI Server Admin Role and Tenant.Read.All and Tenant.Write.ReadAll Role Permission role.. do we need any other permissions required.
from powerbirestapi.
The permissions your app registration needs is all documented here: https://docs.microsoft.com/en-us/power-bi/developer/register-app
But here's a screenshot of my app registration so you can try to match.
Also if you're Power BI Service Admin role is a Just In Time privilege (meaning you have to elevate each time you use it - some tenants are configured like this including mine) make sure you've elevated it, not just eligible:
from powerbirestapi.
@klinejordan
I have verified the above permissions and we have all the required permission but We don't have Privileged Identity Management License to our tenant Is there any other way we can elevate the permission or do we need compulsory PIM for Power BI service admin to get this custom connector to work ??
from powerbirestapi.
@klinejordan do you have any update ?? If we dont have the PIM License and we cannot fetch the data for Power BI service admin table ?? We are the Power BI Service Administrator role but not using the PIM ..
from powerbirestapi.
You don't need PIM to get this to work - i mentioned it because some tenants have it and some don't, and some people forget that they need to activate it, not just be eligible for the role.
I'm not sure I can fix your issue at this point - you may have other networking or authentication or trust settings I'm not aware of, but supporting this connector isn't my full time job.
from powerbirestapi.
hey @bsaragadam !
This repo is mainly taking bugs related to the custom connector itself. To be more specifically, anything that is not working as intended because of something that is just awfully written in our code (usually my fault).
The custom connector was created as a community effort and is provided as is with no warranty under the MIT license, which means that you can also fork it and customize to your needs in the event that you see anything that is missing.
As @klinejordan has said, this appears to be an issue related to permissions on your tenant and not something related to our Custom Connector. I'd highly recommend that you get in touch with your Power BI Admin and provide the pictures that you've seen before in this thread as an example in terms of permissions that should be available in your app for this to work.
We are not the owners of the data source, so we are unable to provide any diagnostics or further help as to what's happening with your specific case. Ultimately if your Power BI Admin needs further help, I'd recommend that he / she gets in touch with Microsoft to look further into it.
We thank you for reporting the original bug and if you find any other bug or errors in the dataset, please let us know.
from powerbirestapi.
@migueesc123 @klinejordan Thanks for the prompt response.. @klinejordan do you use the MFA for your tenant ?? I'm thinking its blocking for me due to MFA or ADFS Authentication
from powerbirestapi.
Hi!
The missing piece in my case was "Grant Admin Consent"
Thanks for all the awesome work with this connector
from powerbirestapi.
Related Issues (20)
- https://api.powerbi.com/v1.0/myorg 404 Not Found HOT 1
- Upsteam Dataflows HOT 3
- Adding of artifacts to connector HOT 3
- Help Wanted HOT 1
- Get Dataset Users doesn't work HOT 2
- Add support for [GetDashboardSubscriptionsAsAdmin] HOT 1
- InvalidConnectionCredentials when using on Gateway HOT 4
- Tables return errors when accessed as admin user HOT 1
- How does the connector api works? HOT 1
- Gateways API issue HOT 11
- GetData function does not work HOT 1
- Issue with Gateways connection HOT 1
- Unable to signin HOT 2
- Conditional Access Policy Blocks API use HOT 1
- PBI refresh failure constantly with credential error HOT 5
- Dataset Datasources fails for AzureBlobs source - missing "account" field
- Dataset Datasources refresh not working HOT 2
- Adding "workspaceId" to Admin - Apps GetAppsAsAdmin HOT 1
- Intermittent Error: The underlying connection was closed: An unexpected error occurred on a receive. HOT 1
- Execute Query Function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerbirestapi.