Summary: Prior to using the Priority Booking action in Cayosoft Web Console, the additional role must be assigned to the Office 365 Service Account.
Applies to: Cayosoft Administrator Version 4.2.0 and later
Grant additional role using PowerShell commands
Open the PowerShell console on the machine where Cayosoft Administrator is installed. This machine would have all prerequisites installed, to allow to connect to Office 365.
When running these PowerShell commands replace firstname.lastname@example.org with your Cayosoft Administrator Office 365 Service Account:
$credential = (Get-Credential)
$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $credential -Authentication "Basic" -AllowRedirection
Import-PSSession $exchangeSession -DisableNameChecking
New-ManagementRoleAssignment -Name "CayoAccountImp" -Role ApplicationImpersonation -User "email@example.com"
Add the Priority Booking action to a Web Query
- Select the AD Users web query that should display the Priority Booking action
- Click Advanced View then click the Action tab
- Click the Add button to add a web action
- Expand Web Actions and select Priority Booking
- Click Save Changes
Note: Global Administrators will see this command in the web interface as soon as the browser is refreshed. Other users will need to have this action added to their Web Role delegation.
Note: You can use Attribute Policies to set default messages.