This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi, I have been trying to perform PowerShell module instalation of MicrosoftPowerBIMgmt on a server which does not have Internet Connectivity and have not been successfull so far.
I would appreciate any help on this.
Here is what I have tried so far.
* Saved the module on a server which has Internet Connectivity
Save-Module MicrosoftPowerBIMgmt -Path C:\temp\PowerBIPSModule
Zipped the folder and copied it over to the destination server under following location:
C:\Program Files\WindowsPowerShell\Modules
It contains several folders as below:
Directory: C:\Program Files\WindowsPowerShell\Modules
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 7/21/2020 10:54 AM MicrosoftPowerBIMgmt
d----- 7/21/2020 10:54 AM MicrosoftPowerBIMgmt.Admin
d----- 7/21/2020 10:54 AM MicrosoftPowerBIMgmt.Capacities
d----- 7/21/2020 10:54 AM MicrosoftPowerBIMgmt.Data
d----- 7/21/2020 10:54 AM MicrosoftPowerBIMgmt.Profile
d----- 7/21/2020 10:54 AM MicrosoftPowerBIMgmt.Reports
d----- 7/21/2020 10:54 AM MicrosoftPowerBIMgmt.Workspaces
I am able to list the module and cmdlets also :
PS C:\> Get-Module -ListAvailable
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 1.0.840 MicrosoftPowerBIMgmt
Binary 1.0.840 MicrosoftPowerBIMgmt.Admin {Add-PowerBIEncryptionKey, Get-PowerBIEncryptionKey, Get-P...
Binary 1.0.840 MicrosoftPowerBIMgmt.Capacities Get-PowerBICapacity
Binary 1.0.840 MicrosoftPowerBIMgmt.Data {Add-PowerBIDataset, Set-PowerBITable, New-PowerBIDataset,...
Binary 1.0.840 MicrosoftPowerBIMgmt.Profile {Connect-PowerBIServiceAccount, Disconnect-PowerBIServiceA...
Binary 1.0.840 MicrosoftPowerBIMgmt.Reports {Get-PowerBIReport, New-PowerBIReport, Export-PowerBIRepor...
Binary 1.0.840 MicrosoftPowerBIMgmt.Workspaces {Get-PowerBIWorkspace, Get-PowerBIWorkspaceMigrationStatus...
Now when I try to login it errors out:
PS C:\> Connect-PowerBIServiceAccount
Connect-PowerBIServiceAccount : One or more errors occurred.
At line:1 char:1
+ Connect-PowerBIServiceAccount
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], AggregateException
+ FullyQualifiedErrorId : System.AggregateException
PS C:\>
Please help...
Hey Thanks for looking into this,
Initially I also thought that this is happeing because of no Internet connectivity but that does not seem to be the only reason here.
Here is what I did to prove that.
I installed the Module on a Server with Internet Connectivity using Install-module from PowerShell Gallery and then ran the command Connect-PowerBIServiceAccount. As expected, this command worked fine and without giving any error it opened up an authentication window prompting for Username and Passoword which shows it is working properly.
I then Uninstalled the module from this server and copied the saved modules to module directory that I downloaded using Save-Module command which was copied to the server with no internet.
I again tried the same command Connect-PowerBIServiceAccount, now Ideally this should have worked because the server does have Internet Connectivity but it gave the same error message which we were getting on the server with no internet.
This makes me think that the method I followed to install PowerBI Modules on a server with no internet has something still missing and because of that it is not working on a server with Internet too.
The PowerBI PowerShell modules are the same on both of the servers while PowerShell version is higher on the server with no internet.
PowerShell Version on Server without Internet
PS C:\Windows\system32> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.14393.3471
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.3471
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1List of PowerBI modules on server without Internet:
PS C:\Windows\system32> Get-Module -ListAvailable
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 1.0.1 Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation}
Manifest 1.0.840 MicrosoftPowerBIMgmt
Binary 1.0.840 MicrosoftPowerBIMgmt.Admin {Add-PowerBIEncryptionKey, Get-PowerBIEncryptionKey, Get-PowerBIWorkspaceEncryp...
Binary 1.0.840 MicrosoftPowerBIMgmt.Capacities Get-PowerBICapacity
Binary 1.0.840 MicrosoftPowerBIMgmt.Data {Add-PowerBIDataset, Set-PowerBITable, New-PowerBIDataset, New-PowerBITable...}
Binary 1.0.840 MicrosoftPowerBIMgmt.Profile {Connect-PowerBIServiceAccount, Disconnect-PowerBIServiceAccount, Invoke-PowerB...
Binary 1.0.840 MicrosoftPowerBIMgmt.Reports {Get-PowerBIReport, New-PowerBIReport, Export-PowerBIReport, Get-PowerBIDashboa...
Binary 1.0.840 MicrosoftPowerBIMgmt.Workspaces {Get-PowerBIWorkspace, Get-PowerBIWorkspaceMigrationStatus, Add-PowerBIWorkspac...
PowerShell Version on Server with Internet:
PS C:\> $PSVersionTable
Name Value
---- -----
PSVersion 5.0.10586.117
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.10586.117
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1List of PowerBI Modules on server with Internet:
PS C:\> Get-Module -ListAvailable
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 1.0.840 MicrosoftPowerBIMgmt
Binary 1.0.840 MicrosoftPowerBIMgmt.Admin {Add-PowerBIEncryptionKey, Get-PowerBIEncryptionKey, Get-P...
Binary 1.0.840 MicrosoftPowerBIMgmt.Capacities Get-PowerBICapacity
Binary 1.0.840 MicrosoftPowerBIMgmt.Data {Add-PowerBIDataset, Set-PowerBITable, New-PowerBIDataset,...
Binary 1.0.840 MicrosoftPowerBIMgmt.Profile {Connect-PowerBIServiceAccount, Disconnect-PowerBIServiceA...
Binary 1.0.840 MicrosoftPowerBIMgmt.Reports {Get-PowerBIReport, New-PowerBIReport, Export-PowerBIRepor...
Binary 1.0.840 MicrosoftPowerBIMgmt.Workspaces {Get-PowerBIWorkspace, Get-PowerBIWorkspaceMigrationStatus...
Binary 1.0.0.1 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-Packa...
Script 2.0.2 PolicyFileEditor {Set-PolicyFileEntry, Remove-PolicyFileEntry, Get-PolicyFi...
Script 1.0.0.1 PowerShellGet {Install-Module, Find-Module, Save-Module, Update-Module...}
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 14 | |
| 10 | |
| 9 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 33 | |
| 28 | |
| 26 | |
| 19 | |
| 16 |