Microsoft Outlook Plugin
PlaceOS Provide a plugin for Microsoft Outlook to facilitate room bookin
Last updated
PlaceOS Provide a plugin for Microsoft Outlook to facilitate room bookin
Last updated
The Outlook Plugin is treated like a normal Frontend Repository in PlaceOS Backoffice.
To add the plugin, you will require administrator access to PlaceOS. You can follow the instructions below or reference the Deploy a Frontend Interface document.
Navigate to the Repositories tab in Backoffice.
Create a new Repository.
For repository name enter: Outlook Plugin
For repository URL enter: https://github.com/placeos/user-interfaces
For repository branch enter: build/outlook-rooms-addin/prod
For folder name enter: outlookplugin
Ensure repository type is set to Interface
Enter GitHub credentials.
You should now be able to pull the repository and reference it in domains as outlookplugin
i.e. https://company.placeos.com/outlookplugin/
If configured correctly, the URL should load the frontend and redirect to Microsoft Authentication.
To enable the application to authenticate and return a user token to PlaceOS, we need to create an API Endpoint in Azure App Registrations.
If you have previously configured Azure App Registrations for PlaceOS Room Booking or Calendar integration, you can simply add the endpoint to the existing App Registration on Azure.
These instructions are taken directly from Microsoft Documentation: Configure Azure AD App for Office add-in.
Login to Azure Portal
Navigate to Azure Active Directory -> App Registrations.
Select the PlaceOS User Authentication app registration.
Add a new scope, configure it with the following details:
Scope Name: access_as_user
Who can consent: Admin & Users.
Admin consent name: Access User and Room Calendars.
Admin consent description: All the app to read the user calendar and calendars of rooms the user has permission to view/book.
User consent name: Access User and Room Calendars.
User consent description: All the app to read the user calendar and calendars of rooms the user has permission to view/book.
Click Add Client Application
Add the following clients:
d3590ed6-52b3-4102-aeff-aad2292ab01c
(Microsoft Office)
ea5a67f6-b6f3-4338-b240-c655ddc3cc8e
(Microsoft Office)
57fb890c-0dab-4253-a5e0-7188c88b2bb4
(Office on the web)
08e18876-6177-487e-b8b5-cf950c1e598c
(Office on the web)
bc59ab01-8403-45c6-8796-ac3ef710b3e3
(Outlook on the web)
To ensure we can obtain the user token after authentication, you will need to register a redirect URI.
Login to Azure Portal
Navigate to Azure Active Directory -> App Registrations.
Select the PlaceOS User Authentication app registration.
We will need to tell Exchange your users require permissions, this must be included with the manifest.xml
file which also includes the Azure App Registration API Endpoint.
If it does not already exist, add a <WebApplicationInfo>
element to your manifest after the closing </Resources>
tag.
Set the <Id>
element to your App Registrations Client ID.
Set the <Resource>
element to the API endpoint URL provided in the API section of your App Registration.
Add a <Scopes>
element which includes profile
, openid
and User.Read
Example:
To deploy the plugin to Microsoft Exchange, a Manifest File detailing the location and parameters of the application is required.
PlaceOS is able to automatically generate and serve the manifest file once you have created the API Endpoint in Azure.
To generate the manifest file, follow these steps:
Navigate to PlaceOS Backoffice.
Select Manage Instance from the left menu.
Select Staff API.
Use the drop down list to select the domain you are intending to deploy the plugin to.
You should already have a Staff API Registration if you have previously integrated PlaceOS with Microsoft Services. If not you can refer to the documentation on Configuring Staff API.
Edit the Staff API Registration.
Enable the Configure Outlook Plugin checkbox.
Enter the App ID from your Azure API Endpoint.
In order for the plugin to work effectively with your organisation and to allow users to add the plugin to Outlook, it must be registered in Exchange 365 Admin.
To complete these steps you will require administrator access to Exchange 365.
PlaceOS provide a manifest.xml
file with the user interface, in the Custom App settings select the Provide Link to Manifest file option and enter your manifest.xml URL.
You can click Next and Finish the Wizard.
If PlaceOS make changes to the plugin, the manifest.xml file version will be incremented and these changes may be updated in the custom app.
Follow the same steps to access the Custom App under Integrated Apps in Exchange 365, then:
Select the Custom Room Booking app.
Provide your manifest.xml
URL Path.
Click Update.
Any changes in the manifest.xml
will be applied and the plugin will be updated.
If the instructions are followed correctly, shortly after registering the custom app the plugin will become visible to users in Outlook Mc & Windows.
PlaceOS will either automatically generate the Manifest file or you will be provided with a correctly formatted manifest file to upload.
In Outlook, Navigate to the Tools Menu and select Get Add-ins
In the add-in window, select Admin-Managed.
Select the Room Booking Add-in tile.
Select the Expose an API blade.
Set the App ID URI to your PlaceOS Domain, Azure will automatically add your App ID to the end of the URL. Note down the App ID URI as you will need this for the manifest file.
State: Enable
93d53678-613d-4013-afc1-62e9e444a0a5
(Office on the web)
Select the Authentication Blade.
Add a new Redirect URI and select Web.
Enter your PlaceOS base domain plus /outlook/#/book/spaces
for example: https://placeos.com/outlook/#/book/spaces
Once the Redirect URI is added, ensure Access tokens and ID Token checkboxes are selected.
Under supported account types, select only accounts in this domain.
In Exchange 365 Admin navigate to Settings -> Integrated Apps.
Select Upload Custom Apps.
The Manifest URL will be per the configuration, following the example used in Adding the Outlook Plugin in this case the manifest file is located at: https://company.placeos.com/outlookplugin/manifest.xml
Click Validate. The Manifest File should validate successfully.
Select Update App under Actions.
You will see the PlaceOS Room Booking add-in.
Once installed, users will need to sign into the add-in with their corporate credentials.