Skip to content
KiweelyKiweelyKiweely

Workday Extend HTTP 403 Permission Denied: Security Domain and API Scope Fixes

A Workday Extend HTTP 403 Permission Denied or S22 error means authentication succeeded but the caller lacks domain permissions or API scopes. Check the custom security domain policy and pending activations first, then isolate PMD endpoints, WQL, custom objects, or orchestrations.

  • Checked against Workday on
  • Applies to Workday Extend
  • 7 min read
  • Published
  • By Kiweely
On this page

A Workday Extend app returns HTTP 403 Forbidden (often surfaced in Workday responses as S22 / Permission Denied) when authentication succeeds, but the signed-in user or Integration System User lacks View or Modify access on a required security domain or an OAuth API client is missing a functional area scope. Check two things first: confirm the user’s security group is assigned to the Extend app’s custom security domain in Edit Domain Security Policy, and verify that Activate Pending Security Policy Changes has been run.

Diagnose the 403 source before changing policies

A 403 Forbidden or S22 Permission Denied response in Workday Extend can come from four different authorization gates: page security, a downstream REST or WQL call inside a Page Metadata (.pmd) file, a Custom Business Object domain, or an OAuth API client scope. Check the failing HTTP request URL in browser developer tools or Orchestration logs to match the error to the exact gate.

Failing component or URL What Workday blocks Exact Workday task to fix it
Failing component or URLExtend page load (securityDomains in .pmd) What Workday blocksUser lacks View on the custom security domain securing the page Exact Workday task to fix itEdit Domain Security Policy (or App Manager > Configure), then Activate Pending Security Policy Changes
Failing component or URLPMD endPoints calling a Workday REST API What Workday blocksUser lacks View or Modify on the Workday-delivered domain behind the API Exact Workday task to fix itRun View Security for Securable Item to find the delivered domain, update Edit Domain Security Policy, then activate
Failing component or URLWQL call to /wql/v1/data What Workday blocksUser lacks Workday Query Language (System) or a domain on a queried data source/field Exact Workday task to fix itGrant View on Workday Query Language and every queried data source domain, then activate
Failing component or URLCustom Business Object (/apps/{appId}/v1/{object}) What Workday blocksCaller lacks View (GET) or Modify (POST/PUT/PATCH/DELETE) on the object’s custom domain Exact Workday task to fix itUpdate Report/Task Permissions on the custom domain via Edit Domain Security Policy, then activate
Failing component or URLOrchestration or external OAuth call What Workday blocksAPI client lacks the functional area scope, or the app’s ISU lacks domain access Exact Workday task to fix itRun Edit API Client to add Scopes (Functional Areas), check ISU assignment in App Manager, then activate
Failing component or URLNewly promoted app version with new domains What Workday blocksNew custom domain policy has not been created in the tenant or model cache has not refreshed Exact Workday task to fix itApp Manager > Installed > Configure > Security domains > Create, then activate (or refresh model components cache)

Custom security domains and unactivated policy changes

In Workday Extend, custom security domains are defined as .securitydomain model components and referenced in each page’s .pmd file via the securityDomains array (up to three domains per page, with "enabledForPageSecurity": true set on the domain component). The Site Metadata (.smd) file defines site-level authentication types and custom error pages, while actual authorization enforcement happens inside the Workday tenant’s configurable security policies.

Deploying an Extend app creates the custom security domains in the tenant, but Workday does not populate their domain security policies automatically. Until an administrator maps security groups to each domain and activates pending changes, users receive 403 Forbidden when opening secured pages or calling secured endpoints.

  1. Sign in to the target Workday tenant with security administrator access.
  2. Search for and run Edit Domain Security Policy (or Edit Domain Security Policy for Functional Area and select your Extend app’s functional area).
  3. Open the custom security domain referenced by the failing .pmd file or model component.
  4. Under Report/Task Permissions, add the required security group (such as an unconstrained role-based group, job-based group, or Integration System Security Group).
  5. Grant View for read-only (GET) access, or Modify when the user must submit POST, PUT, PATCH, or DELETE requests (Modify includes View).
  6. Run Activate Pending Security Policy Changes and submit the confirmation screen.

Policy edits stay in a pending state until Activate Pending Security Policy Changes completes. Because Workday secures that task under the Security Activation domain to support segregation of duties, the administrator who edits the policy may need a separate security approver to run activation.

PMD endpoints, delivered REST domains, and WQL queries

Granting a user access to an Extend app’s custom security domain only clears the page gate; it does not grant access to Workday-delivered APIs called by the page’s endPoints array. When a .pmd page loads and then throws 403 Forbidden or S22 Permission Denied on a specific data call, the logged-in user is missing permission on an underlying Workday-delivered domain.

WQL calls to /wql/v1/data enforce two domain checks on every request:

  1. Query execution permission: The caller’s security group must have View access to the Workday Query Language domain in the System functional area.
  2. Data-level permission: The caller’s security group must have View access to every security domain that protects the data sources, business objects, and fields named in the SELECT statement.

If the 403 error does not name the missing domain, run the View Security for Securable Item report in Workday and search for the exact web service, report data source, or task that the PMD endpoint calls. Compare the domains returned by that report against the user’s security groups, add the missing group via Edit Domain Security Policy, and run Activate Pending Security Policy Changes.

Custom Business Objects under apps/{appId}/v1/{object}

Extend Custom Business Objects expose REST routes through the Workday API Gateway using the path https://api.workday.com/apps/{applicationId}/v1/{customBusinessObjectName}. Every Custom Business Object is bound to a custom security domain, and Workday maps HTTP verbs directly to that domain’s permissions.

A common failure pattern is a page that loads existing records without error (GET returns 200) and then fails with 403 Forbidden when the user clicks Submit (POST, PUT, PATCH, or DELETE). That split behavior means the user’s security group has View permission on the Custom Business Object’s security domain but is missing Modify permission. Open Edit Domain Security Policy for the object’s custom domain, move the security group to Modify, and run Activate Pending Security Policy Changes.

Orchestrations and OAuth API client scopes

When a Workday Extend Orchestration or external service receives 403 Forbidden or S22 Permission Denied, two separate gates can reject the call: the Integration System User’s domain permissions and the OAuth API client’s functional area scopes. Even if the Integration System User holds View and Modify on every required domain, Workday returns 403 if the OAuth token was issued for an API client that omits the needed functional area.

  1. Search for API Clients in Workday and open the All Clients tab.
  2. Select the API client used by the Extend app or integration and run Edit API Client from its related actions menu.
  3. Under Scopes (Functional Areas), confirm that every required functional area is selected (including System or Tenant Non-Configurable where required by the endpoint, plus the target HCM or Financial Management functional areas).
  4. Save the API client, then verify in App Manager that the Integration System User assigned to the app belongs to an Integration System Security Group granted access to the target custom and delivered domains.
  5. Run Activate Pending Security Policy Changes so updated permissions take effect.

App Manager upgrades and missing new security domains

When you promote a new version of an already-installed Extend app to a non-Development tenant (such as Sandbox or Production), you do not reinstall the app in App Manager. However, any brand-new .securitydomain component introduced in that upgrade still starts with no active domain security policy in the target tenant, which triggers 403 Forbidden on the new pages or objects until configured.

To configure newly added domains after an upgrade:

  1. Open Workday Extend App Manager (your account needs access to the Manage: App Manager domain security policy).
  2. Go to the Installed tab and click Configure next to the app.
  3. Under Model Components, open Security domains and click Create next to each new domain (or use Domain Security Policy > Edit Permissions to update an existing one).
  4. Assign the required security groups under Report/Task Permissions and run Activate Pending Security Policy Changes.

If a newly promoted security domain or Custom Business Object does not appear under Configure right away, check the release timing. Workday deploys updated Extend model components on its Weekly Service Updates schedule; if components are still missing after deployment, the tenant may require running the Refresh Extend Model Components Cache task (typically coordinated with Workday Developer Support).

Sources checked

Let Workday check the work.

Kiweely writes WQL and builds orchestrations in your own tenant, and Workday, not Kiweely, says whether they passed.

Want it built for you? OnoeX , a Workday consulting firm, delivers this with Kiweely Vine.

Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.

We’ll email you once to confirm. Unsubscribe in one click from any issue.

Protected by reCAPTCHA. Google’s privacy policy and terms apply.