Published: December 14, 2016
Applies to: Cayosoft Administrator Version 4.2.0 and later
Summary: Prior to using the Priority Booking action in Cayosoft Web Console, the additional role must be assigned to the Office 365 Service Account.
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:
$Office365_Credentials = (Get-Credential)
Connect-MsolService -Credential $Office365_Credentials
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.