Use the Shifts connector wizard to connect Shifts to UKG Dimensions (Preview)
Overview
The Shifts connector wizard in the Microsoft 365 admin center enables you to integrate the Shifts app in Microsoft Teams with your workforce management (WFM) system. Your frontline workers can seamlessly view and manage their schedules in your WFM system from within Shifts.
The wizard creates a connection to your UKG Dimensions system and a connection instance. This applies the sync settings and team mappings you choose. Sync settings determine the schedule information and what entities sync between UKG Dimensions and Shifts. Team mappings define the sync relationship between your UKG instances and teams in Microsoft Teams.
You can create one or more connection instances, each with different sync settings. For example, if your organization has multiple locations with different schedule requirements, create a connection instance with unique sync settings for each location. A UKG instance should only be mapped once to a Microsoft team at any given time. However, it's possible in the wizard to have different connection instances with the same mappings. This means that you can create connection instances with duplicated mappings.
With UKG Dimensions, your frontline workers can efficiently manage their schedules and availability in Shifts on their devices. Frontline managers can continue to use UKG to set up schedules.
Terms used in this article
Term | Definition |
---|---|
Connection | This is where you configure your UKG Dimensions details by providing your account username, password, and service URLs. This enables access to all your WFM (workforce management) instances created in your UKG Dimensions WFM system. |
Connection instance | This is where you configure: - The synchronization settings that determine how and which schedule information syncs between UKG Dimensions and Shifts - Team mappings to define the relationship between your WFM instances and teams in Microsoft Teams |
WFM instance | This term refers to a team within your UKG Dimensions WFM system, which is different than a team in Microsoft Teams. |
Integrate Shifts with UKG Dimensions
The Microsoft Teams Shifts connector for UKG Dimensions enables you to integrate Shifts with UKG Dimensions to manage your schedules and keep them up to date. In this article, we explain how to run the wizard to set up a connection and a connection instance to UKG Dimensions.
Note
If you prefer, you can use PowerShell to integrate Shifts with UKG Dimensions. To learn more, see Use PowerShell to connect Shifts to UKG Dimensions.
Prerequisites
Before you try the Shifts connector wizard, check that you meet all these prerequisites:
Make sure you’re a Microsoft 365 global admin.
Know your UKG Dimensions account username, password and these other details:
- API URL
- Application key
- Client ID
- Client secret
- Single Sign On (SSO) URL
If you don't have all this information, contact UKG Dimensions support.
Make sure your organization is using Azure Active Directory (Azure AD). This is the supported identity provider for SSO. To enable SSO, set up integration between Azure AD and UKG Dimensions. For a step-by-step tutorial, see Tutorial: Azure AD SSO integration with Kronos Workforce Dimensions. If you need help or more information about setting up SSO, contact UKG Dimensions support.
Make sure Federated SSO authentication is enabled in your UKG Dimensions environment. Follow the steps below to configure UKG Dimensions single sign-on.
Make sure you have at least one team set up in Microsoft Teams.
Make sure you’ve added a Microsoft 365 system account (not your personal user account) as team owner to all teams you want to map.
You can create this account in Microsoft 365 and assign it a Microsoft 365 license. Then, add the account as a team owner to all teams that you want to map. The Shifts connector uses this account when syncing Shifts changes from UKG Dimensions. We recommend you create an account specifically for this purpose and not use your personal user account.
Make sure the teams you want to map don't have any schedules in Shifts or UKG Dimensions. If a team has an existing schedule, follow the steps below to remove schedule entities from the team before you map a UKG Dimensions instance to it. Otherwise, you'll see duplicate shifts.
Configure single sign-on
After you make sure you meet all the prerequisites above, follow these steps to have UKG enable SSO for your organization.
Change user accounts to federated accounts
Each person who uses the Shifts connector will need a federated account in UKG Dimensions.
- From the left menu in UKG Dimensions, go to Maintenance and select People information.
- Open the user's profile.
- Under the Employee section, expand Information.
- Change the Authentication Type to Federated.
- Save your changes and repeat the process for all users that will use the connector.
Allow Shifts SSO redirection URLs
After UKG enables SSO for your organization, configure the connector's redirection URL. This will allow UKG Dimensions to redirect the user to the Shifts app in Microsoft Teams as part of the SSO flow.
- Sign into UKG with an account that has access to Application Setup.
- From the left menu, go to Administration, then Application Setup.
- Then, go to System Configuration and choose System Settings.
- Select Global Values.
- In the global.oAuth.authCode.redirection.uris field, enter the value: "https://aka.ms/shifts/connector/ukgdimensions/auth".
- In the global.oAuthToken.redirection.domain.whiteList field, enter the value: "aka.ms".
- Select Save.
Remove schedule entities from teams you want to map
Complete this step if you're mapping UKG Dimensions instances to existing teams with schedule entities. If you're mapping to teams that don't have any schedules or if you've already created new teams to map to, you can skip this step.
Use PowerShell to remove schedule entities from teams.
If you don’t have PowerShell installed already, install the PowerShell modules and set up your PowerShell environment
Run this command in PowerShell:
Remove-CsTeamsShiftsScheduleRecord -TeamId <Teams team ID> -DateRangeStartDate <start time> -DateRangeEndDate <end time> -ClearSchedulingGroup:$false -EntityType <the scenario entities that you want to remove, the format is @(scenario1, scenario2, ...)> -DesignatedActorId <Teams team owner ID>
To get a list of scenarios for the
EntityType
parameter, run Get-CsTeamsShiftsConnectionConnector. Schedule data will be removed for the date and time range that you specify.
To learn more, see Remove-CsTeamsShiftsScheduleRecord.
Run the Shifts connector wizard
After you’ve followed all the steps above and made sure you meet the prerequisites, now you’re ready to run the wizard and connect your UKG Dimensions system to Shifts in Microsoft Teams.
Create a connection
In the left navigation menu of the Microsoft 365 admin center, choose Setup, and then under Featured collections, select Frontline workers.
To create a new connection, choose Add connection.
In the Choose your connector pane, choose UKG Dimensions, and then select Next to create a UKG Dimensions connection.
In the Connection settings pane, give your connection a unique name. It can't be longer than 100 characters or have any special characters.
Enter your UKG Dimensions information and then select Save connection.
- Account username
- Account password
- API URL
- Application key
- Client ID
- Client secret
- SSO URL
Signing in with your username enables access to all instances created in UKG Dimensions. If you don't know one or more of your connection details, contact your UKG Dimensions delivery partner or account manager.
Note
- Check that your SSO URL is structured like this sample URL:
https://contoso-sso.mykronos.com - Then add this extra text at the end of the URL (after .com), structured like this (for a sample client ID XDV45GTaaaaab43342XA):
https://contoso-sso.mykronos.com/oauth2/authorize?client_id=XDV45GTaaaaab43342XA
To create another connection, go to the Connector Management Console page and select Add connection.
Create a connection instance
After you create a connection, you can set up one or more connection instances in that connection.
You'll see all the connections you've created on your Connector Management Console. Under the connection where you want to create a new instance, select Create instance
Choose settings
On the Settings page, you choose the information to sync from UKG Dimensions to Shifts, the sync frequency, and whether Shifts users can make changes to the data.
- Enter a name for your connection instance. It can't be longer than 100 characters or have any special characters.
Tip
You'll be given the following options for the next group of settings:
Shifts users will not see provider data: Data won't sync between UKG Dimensions and Shifts.
Shifts users can see provider data: Data syncing is unidirectional from UKG Dimensions to Shifts.
Shifts users can see and change provider data: Data syncing is bidirectional between UKG Dimensions and Shifts.
Choose your basic, Time card, and Request settings from the options listed above.
Then, choose your sync frequency.
Enter your Microsoft 365 system account. This is the account that you created as a prerequisite that is a team owner of all the teams you want to map.
Under Email notification recipients, choose who receives email notifications about this connection instance. You can add individual users and groups. The email notifications contain information about setup status and any issues or errors that may occur after the connection instance is set up.
Important
Before you disable a feature by selecting the option Shifts users will not see provider data, be aware that:
- If the setting Schedules, groups, shifts, and activities is disabled, then all other settings, such as Time off and Employee availability, and more, will also be disabled.
- If the setting Open shift is disabled, Open shift request will also be disabled.
- If the setting Time off is disabled, Time off request will also be disabled.
Important
If you chose any of the following options to disable open shifts, open shift requests, swap requests, offer shift requests, or time off requests, there's another step you need to do to hide the capability in Shifts.
- Open shifts: Shifts users will not see provider data
- Swap requests: Shifts users will not see provider data
- Time off requests: Shifts users will not see provider data
- Offer shift requests: Shifts users will not see provider data
After you run the wizard, make sure you follow the steps in the Disable open shifts, open shifts requests, swap requests, and time off requests section later in this article.
When you're done choosing your settings, select Next.
Map UKG Dimensions instances to teams
Choose the UKG Dimensions instances that you want to connect to Shifts, and then map each WFM instance to a team in Teams. You can map up to 400 instances.
Manually map instances to teams
On the Mapping page, start by choosing which WFM instance(s) you want to map to Microsoft Teams team(s).
Tick the checkbox for each WFM instance you want to map. Instances will only map if you check their boxes.
Next, search for and choose the correct Microsoft Teams team.
Keep in mind that teams that are already mapped to a WFM instance in this connection instance won't be available to map again.
Choose the time zone. The closest city will be automatically filled in, but you can change it.
When you've mapped all your teams, select Next.
Use a CSV file to map instances to teams
On the Mapping page, choose CSV upload tool.
Select Download template to get the CSV mapping file. The template will include a list of all your UKG Dimensions instances and their IDs. The top rows of your template will look like this:
UKG Dimensions Instance ID UKG Dimensions Instance Name Team ID Team Name Time Zone Automatically pre-filled Automatically pre-filled Blank Blank Default* And the bottom rows of your template will look like this:
UKG Dimensions Instance ID UKG Dimensions Instance Name Team ID Team Name Time Zone Blank Blank Automatically pre-filled Automatically pre-filled Default* Choose a team that you want to map to a UKG Dimensions instance. Cut and paste the Team ID and Team Name from the bottom half of your template to be in line with the desired UKG Dimensions instance. A completed row of your template should look like this:
UKG Dimensions Instance ID UKG Dimensions Instance Name Team ID Team Name Time Zone Automatically pre-filled Automatically pre-filled Team ID that you moved Team Name that you moved Default*
Repeat this for all your desired mappings.
- Enter the correct location in the Time Zone column if needed.
Note
The wizard supports approximately 460 locations. The Time Zone needs to be according to the tz format. If the specific location you chose isn't supported, you'll be shown an error in the wizard. Try using the closest city or major city within the same time zone.
On the Mapping page, select Browse to find and upload your completed CSV file.
Choose Done if your file has uploaded correctly. Otherwise, review the provided error report and upload a corrected file.
Your new mappings will appear on the Mappings page.
Choose Next.
Review and finish
Before finishing, review the summary of the connection instance creation process. If you need to make changes during the connection instance creation process, choose Back. When you're ready, select Finish.
The wizard starts the process to set up the connection instance, which may take some time to complete. If you try to edit the connection instance before the setup is complete, you most likely won't be able to view the mappings you created previously.
The email notification recipients you chose will receive email notifications about setup status in case there are any errors.
Disable open shifts, open shifts requests, swap requests, and time off requests
Important
If you chose any of the following options to disable open shifts, open shift requests, swap requests, offer shift requests, or time off requests, there's another step you need to do to hide the capability in Shifts.
- Open shifts: Shifts users will not see provider data
- Swap requests: Shifts users will not see provider data
- Time off requests: Shifts users will not see provider data
- Offer shift requests: Shifts users will not see provider data
After you edit your settings, make sure you follow the steps to Disable open shifts, open shifts requests, swap requests, and time off requests.
To hide open shifts, swap requests, and time off requests in Shifts, use the Graph API schedule resource type to set the following parameters to false
for each team that you mapped to a UKG Dimensions instance:
- Open shifts:
openShiftsEnabled
- Swap requests:
swapShiftsRequestsEnabled
- Time off requests:
timeOffRequestsEnabled
- Offer shift requests:
offerShiftRequestsEnabled
To hide open shifts requests in Shifts, go to Settings in Shifts, and then turn off the Open shifts setting.
Manage your connection and connection instance
After a connection is set up, you can manage and make changes to it in the Microsoft 365 admin center or by using PowerShell.
Use the Microsoft 365 admin center
The Connector Management Console page lists each connection and connection instance that you've set up, along with information such as health status and sync interval details. You can also access the wizard to create new connections and connection instances and make changes to any of your existing ones. For example, you can update sync settings and team mappings.
To learn more, see Use the Microsoft 365 admin center to manage your Shifts connection to UKG Dimensions.
Use PowerShell
You can use PowerShell to view an error report, change connection settings, disable sync, and more. For step-by-step guidance, see Use PowerShell to manage your Shifts connection to UKG Dimensions.
Related articles
Feedback
Submit and view feedback for