Forum Discussion
Add Power BI to onmicrosoft.com domain
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 _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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,PSSessionOpenFailed
I 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