PowerBI Desktop - Get currently Logged in User - powerbi

In Power BI Desktop, due to issues with database connection, I had to login to PowerBI Desktop using my own different user-accounts (admin / non-admin / Mgmt-account), one of which worked i.e. allowed the database connection.
Question: is there a way to find out which account is currently logged in to the Power BI Desktop? (without having to log in-and-out again).
TIA.

Perhaps you could make a measure like so:
User = USERPRINCIPALNAME()
And put it in a card?

Related

Sharing of Power BI work to external users

I created a dashboard in Power BI and would like to share the work with my friends through my novypro profile. But in novypro, it asked me for the embedded url. As I am currently using my school mail id for all my Power BI works, I couldn't see the publish to web option in order to get the embedded URL.
In the other links I tried, I learned that I have to check with the tenant option under Admin Portal. But under Admin Portal I couldn't see anything like that and I have attached the image below.
Is there any other way to send our report to the external users?
The reason you can't see any other tenant settings in the Admin portal is that you are not an Admin. You need to ask an admin to allow you to publish to the web.
The Power BI admin portal has settings that control who can publish to
the web. Work with your organization's Power BI administrator to
change the Publish to web tenant settings in the admin portal.
For smaller organizations or individuals who signed up for Power BI,
you may not have a Power BI administrator yet. Follow our process for
admin takeover. Once you have a Power BI administrator, they can
enable creating embed codes for you.
Established organizations usually already have a Power BI
administrator. People in any of the following roles can act as a Power
BI administrator:
Global administrators Users with the Power BI service admin role in
Azure Active Directory You need to find one of these people in your
organization and ask them to update the Publish to web tenant settings
in the admin portal.
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-publish-to-web#find-your-power-bi-administrator
Alternatively you can sign up for your own Developer Tenant, which includes E5 so you can use Power BI there and have full control.

User can view my report in a browser, but gets not authorized when using the Power BI Mobile application

A user at my company when opening a dashboard from the Power BI Mobile Windows application receives a “not authorized … contact administrator” error message, however it comes up fine in a browser.
I had to share the dashboard report with him before he could view it in the application.
I hoped someone might have an idea what the issue could be.
Thank you so much.
EDIT: It actually appears this is a global issue with all users. No one can see this report in Power BI Mobile. Everyone receives the error, "The report shown in this tile doesn't exist or you don't have permission to view it.". However viewing it in Chrome or Edge browser it shows correctly.
Report from Power BI Mobile app for Windows

Power BI Embedded Report Picker

I have an embedded site for my users to view a report. I have one master login for Power BI that all customers are routed through.
Authentication and the request are done through a .NET backend using PowerBI.Api.V2. Everything works well when I hardcode a single reportId and embed the fullscreen iframe.
My question is for customers that have multiple reports; Is there a built in report-picker-report that I can embed where the report selection is already handled for me? Or should I work on building an interface after retrieving the list of reports my users can pick from?
No, there are no built-in pickers. Power BI provides an API interface and you must implement these for yourself. Of course, you can build these pickers and make them available for us :)
To get list of workspaces you need to call Get Groups. This will give you a list of user's workspaces. You can show their name property values to the user, but you will need their id (the guid). When you know the id of a workspace, you can list the reports in it by calling Get Reports In Group. The same way you can call Get Dashboards In Group and Get Tiles In Group.

powerbi - embedded how to give access to power bi embedded?

I work from a Colombian company that has the subcription to azure and we also are Microsoft partner Gold. I have a question which is this. my company has an administrator account with azure and I would like to give access to Power BI Embedded to a one of our developers but I don't know how. the administrator account belongs to #hotmail.com account and my employee has the #visiontecnologica.com account, so How can I give access to power Bi Embedded to him?
Thank you
Add the user to your Active Directory.
Alternatively, you can setup a new fictitious developer user for him\her and give them the credentials for it.

Is the Power BI REST API limited to one company/organization?

Is the Power BI REST API only allowed to be called for accounts within the same organization of the application?
For example, in Azure I created a new Power BI app in the Azure Active Directory mycorp.onmicrosoft.com.
Then when using the API and redirecting the user to authenticate, it doesn't seem to work unless the user logs in as a user in the *#mycorp.onmicrosoft.com organization.
The error message is: Application with identifier '' was not found in the directory
I really hope this is not a limitation.
Coming back to this thread. You're right that today Power BI requires the user and the content to be in the same organization. We do not have cross tenant sharing yet (it's something we're looking into).