I have a PowerBI report with 2 tables sourced from separate web API calls to a similar service, let's call it MyService. The service returns json. The report refreshes perfectly within PBI Desktop. The report publishes to PowerBI.com where it runs without a hitch. On-demand refresh of the report's dataset in the PBI Service works perfectly too.
I can't schedule a refresh for this report because the option is greyed out. There is an error reported in the Data source credentials section where one of the two Web sources reports it cannot connect to MyService. The error is... "Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again."
Attempting to edit the credentials for the failing connection results in a 500 Internal Server Error.
This error is unexpected because I understood the on-demand refreshes & scheduled refreshes would use the same data source(s). There is no where to specify different data sources/credentials for on-demand vs. scheduled so I just assume they share the same sets of credentials.
Is something weird going on or does my understanding of the innards of the PBI Service need realignment?
Resolved via workaround...
PROBLEM
Dataset credentials cannot be updated without causing 500 error. Invalid credentials disables scheduled refresh options. When publishing a .pbix file via PBI Desktop to PBI Service it may fail to update the dataset connection in the service, leaving it in an invalid state. Refreshes cannot be scheduled while there are any invalid dataset connections.
WORKAROUND
Open the same .pbix file via PBI Service (i.e. PowerBI.com --> GetData), and the dataset connection will be updated. Credentials can now be set without error, thus allowing scheduled refreshes to be set.
If schedule refresh to be worked without gateway, then your data source should be online/cloud or on sharepoint. else you require gateway. ensure all your data sources for .pbix file has cloud only/share point only as source, if its from offline file & online then simply scheduling does not work, you need to setup gateway.
Related
I've been trying to connect Azure monitor to my Grafana dashboard, which is deployed in a Kubernetes cluster. For this I created an app registration in Azure and assigned the 'Reader' role to it. Afterwards I filled in my Azure credentials at the Azure Monitor page in Grafana. I was able to retrieve the right subscription and receive a positive response.
But after this, when I want to open a dashboard, I receive the following error message:
Error updating options: The client '++++' with object id '++++' does
not have authorization to perform action
'microsoft.insights/metricNamespaces/read' over scope
'/subscriptions/++++/resourceGroups/++++;/providers/microsoft.insights'
or the scope is invalid. If access was recently granted, please
refresh your credentials
I'm really stuck now, because I thought that the Reader role would fix this. Anyone experienced this before?
I have tried to assign multiple roles and also created new ones and assigned them to the Grafana app registration. I expect the dashboard to be able to read the data from Azure. There is an connection between Azure and Grafana now, but it is not able to pull the data.
My bad, I figured it out. I needed to assign the Reader role on the subscription level and not only on resource group level. Hopefully this will help someone else in the future.
We had a service connection certificate expire last week so we created a new service connection and since then the deploy stage in our yaml pipeline will not run, the UI reports a status of cancelled and when I go into the logs this is all I see:
I've enabled system diagnostics which yielded nothing.
Has anyone encountered this before?
I've tried deleting and creating the service connection but that has not worked
after raging at the screen for a while, I remembered that I have a library that pulls in secrets from the key vault. The library was still using the original service connection (that was deleted). I updated the library to use the new service connection, re-authorised and the build then ran and deployed successfully.
An error message would of obviously been a massive help, its pretty bad that no logs appear in the build at all.
We have created a power bi report in power bi desktop and we made the incremental refresh configurations and we, for the first time, published our report to pbi service:
The normal refresh button works fine in PBI Desktop, but The problem is that when trying to set a Scheduled Refresh or connecting our dataset to the a Gateway we face credential issues like shown below:
And when editing the credentials we faced this error:
And when it comes to adding a datasource to the GateWay here's the issue:
Please Help Us!!!
Could you change your data source authentication method to Windows, and provide your credentials?
The issue is that I was trying to connect to a localhost web api, but once I connected to the live one everything starts to work fine.
I am setting up the group of people who should see the test results and dashboards in Azure Devops (for external to project users).
I've created another team so they don't see the boards.
They have the rights to see the test results and this works, they
can see the test runs.
I've added the Test results dashboard for this new team which works
fine when you are internal user.
However, external users geting the error "FS.WebApi.Exception: TF400898: An Internal Error Occurred." and also no tests data is visible from the dashboard editor. It looks like those external users missing some permissions to see any test data via dashboard but I can't figure out which permissions are missing.
for external to project users
Are the external users here referring to members of different teams in the same project?
One reason I can think of permission is that the team's View analytics permission is set to deny,this may cause the widget content to fail to load. You can also view this case to see if it is the same internal error situation.
We are creating reports and try to deliver them using a shared folder adding a subscription for that, but when we created it as for user credentials and we can add them for test proposes but the environment on prod, for security reasons we cannot put the credentials on it because IT uses all with windows authentication for security reasons.
Is it any way to set a windows user to deliver the file on the shared folder without add it when is configured?
The parameters for the database and the database server can be set in the data source as an expression, however you eiteher need to define a "ReportAdmin" user to always publish the reports with. The publisher should know the credentials prior to deployment. Other than that the data source will balk and inform that it needs credentials to run the operations :(