Published: 12/02/2013
Updated: 08/23/2018
Applies to: Cayosoft Administrator 8.x
Summary: Certain components are required for Cayosoft Administrator to connect and manage Microsoft Azure Active Directory and Microsoft Office 365.
For details, please see this article: Required modules for Administrator Service version 10.2.0 – Cayosoft Help Center.
Content:
Microsoft Online Command Pack for Windows Azure
- Click the Windows Start icon
-
Type ISE - you will see the Windows PowerShell ISE appears on the screen
-
Right-click Windows PowerShell ISE and click Run As Administrator
- Stop Cayosoft Administrator service, if it is already installed
Stop-Service CayoAdminService
- Run this command to check your current MSOnline module version
Get-Module MSOnline -ListAvailable
If the script didn't return any output you need to install the module. To do so please run the following PowerShell command:
Install-Module -Name MSOnline -Scope AllUsers [-RequiredVersion <Version>]
b) If the script's returned version is different from the required version, you need to remove the previous version first and then install the new one. To do this please run the following PowerShell commands:
Uninstall-Module MSOnline
Install-Module -Name MSOnline -Scope AllUsers -RequiredVersion 1.1.183.66 - Start Cayosoft Administrator service
Start-Service CayoAdminService
-
Close the Windows PowerShell window
SharePoint Client-Side Object Model and Sharepoint Online Management Shell
To install SharePoint Client-Side Object Model manually, perform the following steps:
- In Programs and Features check if SharePoint Client Components are installed and uninstall them manually.
-
Click the Windows Start icon
-
Type ISE - you will see the Windows PowerShell ISE appear on the screen
-
Right-click Windows PowerShell ISE and click Run As Administrator
- Stop Cayosoft Administrator service, if it is already installed
Stop-Service CayoAdminService
- Set the security protocol:
[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityProtocolType]::Ssl3;
- Run the following command to check if there is the installed version of the SharePoint Client-Side Object Model package:
Get-Package -Name Microsoft.SharePointOnline.CSOM | Select Name,Version
- Remove the installed version:
Uninstall-Package Microsoft.SharePointOnline.CSOM -AllVersions -Force -Confirm:$false
- Run the following command to install the SharePoint Client-Side Object Model package:
Install-Package Microsoft.SharePointOnline.CSOM -Source 'CayoNuGetV3' -ProviderName 'NuGet' -RequiredVersion 16.1.23508.12000 -Scope AllUsers
- Start Cayosoft Administrator service (if other components are already installed):
Start-Service CayoAdminService
To install SharePoint Online Management Shell manually, perform the following steps:
-
Click the Windows Start icon
-
Type ISE - you will see the Windows PowerShell ISE appear on the screen
-
Right-click Windows PowerShell ISE and click Run As Administrator
- Stop Cayosoft Administrator service, if it is already installed:
Stop-Service CayoAdminService
- Run the following command to check your current SharePoint Online Management Shell module version:
Get-Module -Name Microsoft.Online.SharePoint.PowerShell -ListAvailable | Select Name,Version
- If the script's returned version is different from the required version, you need to remove the previous version first and then install the new one:
Uninstall-Module -Name Microsoft.Online.SharePoint.PowerShell
Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Scope AllUsers -RequiredVersion 16.0.23612.12000
- Start Cayosoft Administrator service:
Start-Service CayoAdminService
Exchange Online PowerShell module (EXO V3)
-
Click the Windows Start icon
-
Type ISE - you will see the Windows PowerShell ISE appear on the screen
-
Right-click Windows PowerShell ISE and click Run As Administrator
- Stop Cayosoft Administrator service, if it is already installed:
Stop-Service CayoAdminService
-
Run the following command to check your current Exchange Online PowerShell module version:
Get-Module ExchangeOnlineManagement -ListAvailable
a) If the script didn't return any output you need to install the module. To do so please run the following PowerShell command:
Install-module ExchangeOnlineManagement -Confirm:$False -Scope AllUsers -RequiredVersion 3.1.0
b) If the script's returned version is different from the required version, you need to remove the previous version first and then install the new one. To do this please run the following PowerShell commands:
Uninstall-module ExchangeOnlineManagement -Confirm:$False -AllVersions
Install-module ExchangeOnlineManagement -Confirm:$False -Scope AllUsers -RequiredVersion 3.1.0 - Start Cayosoft Administrator service
Start-Service CayoAdminService
- Close the Windows PowerShell window
Microsoft Teams PowerShell Module
-
Click the Windows Start icon
-
Type ISE - you will see the Windows PowerShell ISE appear on the screen
-
Right-click Windows PowerShell ISE and click Run As Administrator
- Stop Cayosoft Administrator service, if it is already installed:
Stop-Service CayoAdminService
-
Run the following command to check your current Microsoft Teams PowerShell module version:
Get-Module MicrosoftTeams -ListAvailable
a) If the script didn't return any output you need to install the module. To do so please run the following PowerShell command:
Install-module MicrosoftTeams -Confirm:$False -Scope AllUsers -RequiredVersion 5.2.0
b) If the script's returned version is different from the required version, you need to remove the previous version first and then install the new one. To do this please run the following PowerShell commands:
Uninstall-module MicrosoftTeams -Confirm:$False -AllVersions
Install-module MicrosoftTeams -Confirm:$False -Scope AllUsers -RequiredVersion 5.2.0 - Start Cayosoft Administrator service
Start-Service CayoAdminService
- Close the Windows PowerShell window
PowerShell Gallery Module
-
Click the Windows Start icon
-
Type ISE - you will see the Windows PowerShell ISE appear on the screen
-
Right-click Windows PowerShell ISE and click Run As Administrator
- Stop Cayosoft Administrator service, if it is already installed:
Stop-Service CayoAdminService
-
Run the following command to check your current PowerShell Gallery module version:
Get-Module PowerShellGet -ListAvailable
a) If the script didn't return any output you need to install the module. To do so please run the following PowerShell command:
Install-module PowerShellGet -Confirm:$False -Scope AllUsers -RequiredVersion 5.1.14393.4402
b) If the script's returned version is different from the required version, you need to remove the previous version first and then install the new one. To do this please run the following PowerShell commands:
Uninstall-module PowerShellGet -Confirm:$False -AllVersions
Install-module PowerShellGet -Confirm:$False -Scope AllUsers -RequiredVersion 5.1.14393.4402 - Start Cayosoft Administrator service
Start-Service CayoAdminService
- Close the Windows PowerShell window
Related Articles
Microsoft Management Framework 5.1
Installing Exchange Online PowerShell module (EXO V2)
Installing Microsoft Teams module
Installing components for working with SharePoint Online
Comments
0 comments
Please sign in to leave a comment.