Verify SSO authentication between Entra ID and Workday
Before configuring watsonx Orchestrate, verify the SSO authentication between Entra ID and Workday. UseCURL or Postman to run the commands.
Set your environment variables
<entra_app_client_id>, <entra_app_client_secret>, <entra_directory_tenant_id>, <workday_api_client_id>, <username_of_user> and <password_of_user> with the appropriate information.Add permissions to access the Workday API
a. Open Microsoft Entra admin center and navigate to App registrations.
b. Select your application used for token exchange.
c. Go to API permissions and select Add a permission.
d. Choose the Workday API.
e. Select Delegated permissions and add the required scopes.
For detailed steps, see Configure an application to access a web API in the Microsoft documentation.
Get a login token from Entra ID
password grant type is used to simulate user logging in to Entra ID.Exchange the login token for a SAML assertion
JWT bearer grant type is used to exchange the access token for a SAML assertion.Replace the $TOKEN with the token you received in the Step 3.Exchange the SAML assertion for Workday access token
$SAML_ASSERT with the SAML assertion that you received in the Step 4.Trigger the Workday API
Result
- Workday returns a JSON response containing a list of workers for the specified tenant.

