Troubleshoot PowerShell module installs
Certain sapio365 features require PowerShell and the installation of specific modules on your computer.
At launch, sapio365 checks for existing modules and installs whatever is missing.
Check if all PowerShell modules are available
To see the installation status of the required PowerShell modules, go to Preferences in the “Back”.
PowerShell operations in sapio365 are always carried out at the user level and require PowerShell modules installed in Directory: C:\Users\YourName\Documents\WindowsPowerShell\Modules
In some cases where incompatibility issues prevent sapio365 from installing these modules, you may need to first uninstall some modules from other directories to then let sapio365 install it at in the proper directory.
sapio365 uses the following modules (with minimum version) includes:
NuGet 2.8.5+
PowerShellGet 2.2.5+
MSAL.PS 4.36.1.2+
AzureAD 2.0.2.140+
ExchangeOnlineManagement 2.0.5+
MSOnline 1.1.183.57+
Manually install missing PowerShell modules
Sometimes your machine settings may prevent sapio365 from automatically installing the needed PowerShell modules. In this case, you’ll need to install them manually (see the link for each) and then launch sapio365 to check.
The following PowerShell command will give you the modules currently installed on your computer:
Get-Module -ListAvailable
When installing a module, sapio365 always sets the scope to “CurrentUser”.
To install a module, you can use the following command, where you replace “TheModuleName” with the name of the module you want to install:
Install-Module -Name TheModuleName -Scope CurrentUser
To uninstall a module, you can use:
Uninstall-Module -Name TheModuleName