Configure a Custom OAuth App for Self-Service Agent Sharepoint Connector
Security: Set up and enable Agent System of Record and Self-Service Agent:
People and Roles:
- Registering the app: A Microsoft Entra user who can register applications, such as an Application Administrator, Application Developer, or Global Administrator role.
- Granting admin consent: A Microsoft Entra Global Administrator or Privileged Role Administrator who is available on standby during setup
- Workday: A Workday account with access to theAgent Management HubandAgent Documentssecurity domains in the Agent System of Record functional area.
Accounts: A designated SharePoint service account, not an individual’s account, with read access to the sites and libraries holding your policy documents. If you connect a personal account and that person leaves your organisation, the connector breaks.
Values to collect before you start:
- Redirect URL: In Workday, access . ClickCopybeside theYour SharePoint App Redirect URLfield and save the value. Close the dialog without submitting. You need this value for step 1.
- Directory (tenant) ID: In the Microsoft Entra admin center, open the Overview page. Copy and save the ID. You need this value for step 5.
You can enable the Self-Service Agent to use documents in your Microsoft SharePoint account to answer your employees' policy-related questions. This increases the relevancy of Self-Service Agent responses without the need to manually upload your existing documents to Workday.
When you don't have the Help SKU, ensure you connect to SharePoint before enabling the Policy Intelligence skill on the Self-Service Agent so that you don't encounter an error.
To configure your connector using the Workday-managed OAuth app, see Connect a Microsoft SharePoint Account to Self-Service Agent.
- Register the app in Microsoft Entra.
- Go to https://entra.microsoft.com and sign in.
- Go to and clickNew registration. In some tenants, this is under .
Option Description NameWorkday - SharepointSupport Accounted TypesAccounts in this organizational directory only (Single tenant).Redirect URI- Platform: Web.
- Enter the redirect URL you copied in the prerequisites. It must match exactly, including any trailing path.
- ClickRegister.
- On the app’s Overview page, copy theApplication (client) ID. This is your Client ID for step 4.
- Add application permissions.
- In the app registration, navigate to API permissions in the sidebar.
- Select .
- Add these scopes:
- Sites.Read.All
- Files.Read.All
- User.ReadBasic.All
- GroupMember.Read.All
- Click . Add Sites.Read.All, and then clickAdd Permissions. This permission displays in the list asOffice 365 SharePoint Online.
- Click . Add these permissions and clickAdd permissions:
- offline_access
- Files.Read.All
- GroupMember.Read.All
- Sites.Read.All
- User.ReadBasic.All
- Remove the default delegated permission. In the permissions list, find . Click and confirm.
- Add a certificate.
- Create a certificate with a validity period your organization allows (we recommend 12 months). Save the public certificate (.cer, .crt, or .pem) and the private key separately. A self-signed certificate is acceptable.
- In the app registration, select .
- Select the public certificate file, enter a meaningful description. Example:Workday SharePoint Agent Integrations, and clickAdd.
- Record the certificate’sThumbprintandExpiresdate, and assign an owner for renewal. The connector stops working when the certificate expires.Upload only the public certificate to Entra. Never upload the private key, and never share it in email, chat, or a ticket.
- Provide your own SharePoint App in Workday.
- Access theAgent Management Hub.
- On theAgent Registrytab, clickSelf-Service Agent.
- On theDocumentstab, clickManage Connectors.
- ClickProvide Your Own Sharepoint App.
- Enter your Client ID and Client Secret from step 1.
- ClickContinueto sign into your SharePoint user account.
The Self-Service Agent can now access your SharePoint policy documents and use them to answer questions. Self-Service Agent enforces the SharePoint file security when providing answers.
Test the Self-Service Agent to verify the accuracy of its responses related to the information in your SharePoint policy documents.