Forum Discussion
Add Power BI to onmicrosoft.com domain
Hi TePe ,
There are several roles that work together to administer Power BI for your organization. Most admin roles are assigned in the Microsoft 365 admin center or by using PowerShell.
- To assign users to an admin role in the Microsoft 365 admin center, follow these steps.
- You can also assign users to roles by using PowerShell. Users are managed in Azure Active Directory (Azure AD).
To learn how to assign admin roles, see Assign admin roles.
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- TePe3 years ago
Helper IV
Hi Anonymous ,
THANKS for the feedback... However you touched the critical point here. I just created that xxxx.onmicrosoft.domain and tried to open the Admin Center. Unfortunately it says that I don't have permissions to open it. The exact error message is:
Switch to an account that has permission
Your account ([email protected]) doesn’t have permission to view or manage this page in the Microsoft 365 admin center.
The problem is that my user is the first and only user in that domain. So how can I give it admin permissions when no other user exists which might have higher access rights?
Best Regards,
Thomas
- Anonymous3 years agoNot applicable
Hi TePe ,
The first users who create the O365 tenant will be assigned as global admin. You can use PowerShell command to find the administrators. Please see: Find what users have been assigned as Global Admins in Office 365 via PowerShell
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- TePe3 years ago
Helper IV
Anonymous Thanks for the instant feedback!!!
I tried to follow the instructions. Seems like I can't access this script as well... So as outlined in the blog I tried to connect PS with O365 first (as described in the linked article). While the Get-Credential worked and I supplied the credentials of the only user I have in that domain, I get an error:
New-PSSession : [ps.outlook.com] Connecting to remote server ps.outlook.com failed with the following error message :
Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:12
+ $SESSION = New-PSSession -ConfigurationName Microsoft.Exchange -Conne ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailedI tried that with my work domain, same error. So I suspect that I need to be an admin to find out which admins are there ;-). However I tried that with a user which is an admin for another domain and I got the same error... Maybe the blog is just outdated, it's from 2014...
But I took your inspiration and searched for other ways to find out global admins... And I found this blog: List all Office 365 Global Administrators with Powershell (tachytelic.net). This worked for me and I now understand that for a xxx.onmicrosoft.com domain there might be already "unexpected" admins (there are already admins which are guests from another domain). This helps now a lot and I might be able for find out the next steps...
Thanks for your support!
Thomas