---
title: "Workday Extend HTTP 403 Permission Denied: Security Domain…"
description: "Fix HTTP 403 Forbidden and S22 Permission Denied errors in Workday Extend by checking custom security domains, WQL domains, API scopes, and App Manager."
url: https://kiweely.com/guides/workday-extend-403-permission-denied-security-domain
---

# 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 December 3
-   Applies to **Workday Extend**
-   7 min read
-   Published December 3
-   By Kiweely

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 |
| --- | --- | --- |
| Extend page load (`securityDomains` in `.pmd`) | User lacks **View** on the custom security domain securing the page |  **Edit Domain Security Policy** (or **App Manager** > **Configure**), then **Activate Pending Security Policy Changes** |
| PMD `endPoints` calling a Workday REST API | User lacks **View** or **Modify** on the Workday-delivered domain behind the API | Run **View Security for Securable Item** to find the delivered domain, update **Edit Domain Security Policy**, then activate |
| WQL call to `/wql/v1/data` | User lacks **Workday Query Language** (`System`) or a domain on a queried data source/field | Grant **View** on **Workday Query Language** and every queried data source domain, then activate |
| Custom Business Object (`/apps/{appId}/v1/{object}`) | Caller lacks **View** (`GET`) or **Modify** (`POST`/`PUT`/`PATCH`/`DELETE`) on the object’s custom domain | Update **Report/Task Permissions** on the custom domain via **Edit Domain Security Policy**, then activate |
| Orchestration or external OAuth call | API client lacks the functional area scope, or the app’s ISU lacks domain access | Run **Edit API Client** to add **Scopes (Functional Areas)**, check ISU assignment in **App Manager**, then activate |
| Newly promoted app version with new domains | New custom domain policy has not been created in the tenant or model cache has not refreshed |  **App 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

-   [Workday Developer: Extend App Security Concepts](https://developer.workday.com/documentation/vel1628698852360/ConceptExtendAppSecurity)
-   [Workday Developer: Secure the Pages of an Extend App](https://developer.workday.com/documentation/sfv1677268046417/StepsSecurethePagesofanExtendApp)
-   [Workday Developer: Manage Deployed Extend Apps](https://developer.workday.com/documentation/bwl1559331246809/ManageDeployedExtendApps)
-   [Workday Developer: Install Extend Apps on Tenants](https://developer.workday.com/documentation/ugq1579118511143/InstallExtendAppsonTenants)
-   [Workday Developer: Assign Integration System Users to an App](https://developer.workday.com/documentation/GUID-1bb7f6e1-e5e7-4cc4-8e35-6791062c23fa/AssignIntegrationSystemUserstoanApp)
-   [Workday Developer: Get Started with Model Business Objects](https://developer.workday.com/documentation/GUID-e371c038-c97f-4518-a18e-eafed4670bc5-enHYPHENus/GetStartedwithModelBusinessObjects)
-   [Workday Documentation: Configurable Security Framework](https://doc.workday.com/workday-education/en-us/course-manuals/financial-management-for-administrators/security.html)

## Related guides

[All guides](https://kiweely.com/guides)

### More guides on Extend apps and pages

[All 105 guides](https://kiweely.com/guides#extend)

-   [Workday 2027R1 Release Guide: Key Dates, Sandbox Preview Window, and Regression Testing Plan](https://kiweely.com/guides/workday-2027r1-release-guide-dates-preview-testing)
-   [Productizing Workday Extend: Turning Custom Requests Into 2-Week Fixed-Scope Sprints](https://kiweely.com/guides/productizing-workday-extend-fixed-scope-sprints)
-   [Workday Data Sources and Primary Business Objects (PBO): How to Pick the Right Data Source for Any Custom Report](https://kiweely.com/guides/workday-data-sources-primary-business-objects-selection-guide)
-   [Workday Extend December 2026 Model Components Compiler Upgrade: Audit & Migration Guide](https://kiweely.com/guides/workday-extend-december-2026-model-components-compiler-upgrade)
-   [Workday GDPR Purge Person Data and Data Retention Guide](https://kiweely.com/guides/workday-gdpr-purge-person-data-retention)
-   [Workday Journeys vs. Workday Extend vs. Onboarding Business Process Tasks](https://kiweely.com/guides/workday-journeys-vs-extend-vs-onboarding-tasks)
-   [Workday UI Automation Testing: Why Scripts Break and How to Automate Reliably](https://kiweely.com/guides/workday-ui-automation-testing)
-   [Why does a PMD endpoint fail when the key is lowercase endpoints?](https://kiweely.com/guides/workday-pmd-endpoint-lowercase-keys)

### From the blog on Extend apps and pages

[All posts](https://kiweely.com/blog)

-   [When a Workday Custom Report Is Enough vs. When You Need Prism or an Extend App](https://kiweely.com/blog/when-workday-custom-report-is-not-enough)
-   [From Business Brief to Tested Workday Extend App: Why Zero Validation Errors Is Not Proof](https://kiweely.com/blog/why-workday-extend-validation-is-not-testing)
-   [Workday Extend Graph API and AppHub Promotion: Moving Apps From Development to Sandbox](https://kiweely.com/blog/workday-extend-graph-api-and-apphub-promotion)

## Let Workday check the work.

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

[Get in touch](https://kiweely.com/vine#partners) [Book a demo](https://kiweely.com/demo)

Want it built for you? [OnoeX](https://onoex.com/?utm_source=kiweely.com&utm_medium=referral&utm_campaign=cross-site&utm_content=guide-extend) , 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.
