How to set up Single Sign On (SSO)
Workspace 365/Office 365 Administrators are able to enable Single sign-on for their Workspace 365 environment, which helps decreasing login procedures for Workspace users (both for logging into the Workspace as well as the specific Azure Apps inside the Workspace)
Option 1 (preferred):
Automatic setup of Single Sign-On(SSO) (KB article at Workspace365)
Option 2:
Please contact 2tCloud Support before continue these steps below.
This guide has the following prerequisites
Workspace is set up - How to configure Workspace 365
Azure Active Directory Configured
Below we describe the steps the Workspace/Office 365 Administrators for enabling Azure Active Directory & Single sign-on.
Open the Microsoft Azure Portal (https://portal.azure.com)
In the top right click the ? and click Show diagnostics
In the screen that opens copy the info in the line of domainName in the section tenants
Open your Azure Active Directory
Click App registrations
Click on the Add button on the top of the page
Choose a name for the new application, select Web app / API and fill in the Sign-on URL.
The Sign-on URL will be "https://workspace365.2tcloud.com/%Environmentname%/SignIn". If you environment name is demo2 the url will be https://workspace365.2tcloud.com/demo2/SignIn. If you URL is different use that URL.Open the created App.
Copy and store the Application ID for now. Open Reply URLs
Add the following URL and afterwards click Save:
https://workspace365.2tcloud.com/%Environmentname%/OAuth2/HandleAuthorityResponse
E.g. https://workspace365.2tcloud.com/demo2/OAuth2/HandleAuthorityResponsehier stond eerst een SLASH erachter, maar dat gaf foutmeldingen, zonder SLASH / lukt het wel!
In the API ACCESS section open Required Permissions. Click add and select Office 365 Exchange Online.
In the second step select all Delegated permissions and click Done.
Repeat step 12 and 13 for the permissions in Office 365 Sharepoint Online.
Open the Windows Azure Active Directory
optional:
check Read and write directory data and save the changeClick Grant Permissions in the overview to actually assign the permissions.
Go to the keys (or Certificates & Sectrets) section and fill in a description, select a duration and click save
Copy the key in the Value field and store this.
We are done in the Microsoft Azure portal. Log in to the Workspace 365 portal as an admin and go to Single sign-on
In the case 'Settings' is not working, go to:
https://workspace365.2tcloud.com/%Environmentname%/SingleSignOnSettings
Select the Single sign-on type to OAuth2.
In the Authority field fill in the following URL, where %Domainname% has to be replaced with
the collected DomainName value earlier in the guide: https://login.windows.net/%Domainname%/ (e.g. https://login.windows.net/demo2.onmicrosoft.com/)
In the Client ID field fill in the stored Application ID
In the Key field fill in the stored Key.
Click Verify after filling in all the required credentials. If you are shown a green screen you were logged in with an administrator account and the check was succesfull. If you get a login screen, log in with admin credentials to verify the settings.
After you see a Green screen you can check the I have seen the GREEN screen telling the verification was successful box and click the Done button on the top left.