OneDrive to PowerBI connection - powerbi

I'm facing an issue in connecting to OneDrive with Power BI. Please assist to make the connection successful. Here I'm attaching the screenshot of the error below. Thanks in advance.

You are trying to authenticate it using anonymous credentials which is not supported, you'll need to use your organizational account to log into it. It is best outlined in this document from Microsoft on how to access files in OneDrive
https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-use-onedrive-business-links

Related

JIRA PowerBI Service data refresh not working

In my PowerBI desktop, I created a Jira dashboard report, and it works perfectly. On the Power BI desktop report, I can view all of my requested data.
Now, when I publish the report https://app.powerbi.com/ the report gets published successfully, however, when I am trying to schedule the refresh, I keep getting below error.
Failed to update data source credentials: The credentials provided for the Web source are invalid. (Source at https://jira.tools.com/.)
When I try to connect straight to my Jira, I know my credentials are accurate and working properly, and the same is true in Powerbi Desktop.
What could be the reason?
Your Jira server might be inside the firewall/inside a private network.
So, the first thing I suggest to try is setting up a Power BI Gateway. Then configure your Power BI Service refresh via that Gateway.
Useful links:
https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-install
https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-data-sources
You'll want to do that on a Server inside your firewall & ensure Proxy settings are correctly setup - to access Internet.
If that doesn't do it - it's probably a more subtle cause (anywhere from the network configuration to how Active Directory is tied to Jira). Let us know, we'll take it from there.

Power BI switching between datasources

I am new to using Power BI gateways. I have created a dashboard using Power BI Desktop connecting to the Test server. Now I have been asked to switch to Production but they wont give me access to the Production. Instead they have setup a data source using Manage Gateways in PBI Service and they are asking me to consume it in my reports. I am so confused if it is actually possible to switch my reports to Production without having access to it. I believe we cannot link PBI Desktop with the DS setup in the Gateway connections directly.
I tried parameterizing database connection so that they can switch to Live and publish it. But they raised a question if they change the password one day and there are many reports published, will they have to go through each of these reports and update with the new password.
Can anyone please provide me a solution for this?
I didn't try this approach, but you can try and check this works for you or not.
In your local Power BI file, In Data Source Settings provide the Production server name.
Give a dummy User ID and Password
Now publish the report to the Power BI Service
Ask your admin now to add appropriate Gateway to the data source. While adding gateway to the data source, the admin should asked for database Credentials and after providing information, it should work.
As I said this is not tested here, I can just hope for the best :)

Power BI: Import mode - Alternate credentials not working

I'm using Power BI.
I'm trying to connect to the server (Analysis Services) with import mode, using alternate credentials (domain\user). Unfortunately, there is a error: 'We couldn't authenticate with the credentials provided. Please try again'
The credentials I'm provided are valid and correct.
I also tried it with other usernames, who have access to the server, but there is the same error. The error is also present for my other colleagues.
I've searched Internet and the solutions provided here are not working in this case. The server allows remote connections and I cannot open Power BI as administrator (it's a company's laptop).
Could you please advise some other solution?

Embedding PowerBI reports and authenticate in web application without using Azure AD

I have embedded power bi report public access url in my web application, which is not authenticated. Is their any way i can authenticate the report without using Azure AD? Please do reply with solution.
Thanks in Advance
Are you talking about 'Publish-To-Web' solution (https://learn.microsoft.com/en-us/power-bi/service-publish-to-web), if so - no, there is no way to authenticate access to such published report.
For getting authenticated access to embedded report, you should use PowerBI embedded (see https://azure.microsoft.com/en-us/services/power-bi-embedded)

Power BI Error: Alternate credentials for Windows authentication is not supported in DirectQuery mode

I have a problem when i want to use DirectQuery. I have a DomainController with installed SQL Server. I have installed Data Gateway and must modify the Service Account to Local System to be able to finish setup. i have setup the Data Gateway successfully in Enterprise Mode. In PowerBi.com everything looks fine and can see the Gateway and no errors.
When i now create a new File with a SQL connection and Mode "Import" and publish it to PowerBi.com, then it works fine and when i schedule a refresh, this works fine, too.
But i want to use DirectQuery on a Database table for example. For this scenario i have created a new Power BI File and selected the same database which i already created as DataSet in PowerBI.com under my Gateway. Then i load the data in the file and while trying to load it i am always receiving the following error message:
Create Connections
Alternate credentials for Windows authentication is
not supported in DirectQuery mode. Use your current windows
credentials, supply a database credential or switch to import mode.
In PowerBI.com under Gateways and Data source i have used Windows Authentication and used the Administrator account which has also permission on the Database. I dont know what this message means and i should change. Can someone help me?
it seems that your have a credential problem, I suggest you to go to File->Options and settings->Data source settings, then edit your data source [Edit Permissions...] and specify a valid Windows credential or database credential. After that, click "Refresh" button in the PBIX file.
Hope that helps!
If you cannot open the PBIX file, restart Power BI designer with an empty one and then go to the File, Options as explained above. You will find out that an "alternate" credential has been stored for your data source. Use your current credentials instead. Now, try to open the original PBIX file and it you will see that now Direct Query mode works.