Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article outlines how to generate connection parameters on your Workday portal for integration with Viva Learning.
Retrieve the Workday Web Service endpoint
You can find the required Workday Web Service endpoint on the Workday Data Centers page on Community.
Use the Workday resource page to identify which Workday Production Data Center your tenant is in.
Now that you know your data center, fill in your information inside the {brackets} to get your URL. You need this URL for integration in your Microsoft 365 admin center.
https:// {**Production Data Center URL Prefix**}/ccx/service/{**Tenant name**}/Learning/v39.2
An example of a URL: https://wd3.myworkday.com/ccx/service/yourorg/Learning/v39.2
Enable OAuth for Workday, generate Client ID, client secret and refresh token
To enhance the security and maintain the integration, we enabled OAuth for Workday.
This process avoids dependency from ISU’s username and password and handles the scenario if ISU leaves the company. Refer to below steps to generate client ID and Client secret required for configuration on admin portal. OAuth access is applied at client level, so it doesn't impact any other sign in flow of other clients linked to Workday. To know more about OAuth, you can refer to Workday’s OAuth documentation.
Enable OAuth for the tenant
- Access the Edit Tenant Setup - Security task.
- Scroll down, in the OAuth 2.0 Settings section, select the OAuth 2.0 Clients Enabled check box.
Create the client for OAuth.
Search for Register API client for integrations task. Enter client name as "VivaLearning" and set expiry of refresh token as "Never" and Scope (Functional Areas) as the following. To edit any existing OAuth settings, you can use the view API client for integrations action.
- "Organizations and Roles”
- "Learning core"
- "Staffing"
- "System"
- "Tenant nonconfigurable"
After creation of API client for integration, you'll get the ClientID and client Secret. Copy the client ID and client secret. This information is used on the admin portal.
Generate refresh token
Search for the "View API client" task and go to "API clients for integration" tab. It shows all clients. Open the "VivaLearning" client created in previous step.
Select the ellipses (...), then API client and Manage Refresh Token for Integration.
Select the ISU created initially during the Viva Learning setup.
Enable "Generate new refresh token" checkbox, select OK.
Copy the generated refresh token.
Get org ID
You need to enter the org IDs for which you want to get assignment and completion records. If you want to pull the data for all employees, you can do so by adding all child org IDs for root ID in Workday. Follow below steps for same.
To generate the org IDs for a single department, follow these steps.
Go to your Workday portal. Search for the organization for which you want to sync the assignment and completion records. If you want to select the data for all employees, search for root org.
Select the organization under category Organizations.
Select the ellipses (...) and select Integration IDs and then View IDs.
Select the Workday ID mentioned previously. Save this ID for later to use as a configuration parameter.
Run following report "Headcount Report" on Workday and select root org. It gives you a list of all departments under root org.
Select ellipses (...) and select Integration IDs and then View IDs.
Select the Workday ID previously mentioned. Save this ID for later to use as configuration parameter.
In large tenant, generate org IDs for departments under root ID
If your tenant has large employee base, instead of adding the root ID you can add the child of root in configuration form.
Run the "Headcount Report" on Workday and select root org. It gives you a list of all departments under the root org.