---
id: object/codeunit/9005
type: object
title: Codeunit 9005 "Url Helper"
summary: Codeunit 9005 "Url Helper" in Base Application (System.Utilities). 12 public procedures. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 1c497b73635321ab8d2053c33204d549324bc18b68badc05afd8356c66f36ef2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Modules/System/WebRequest/UrlHelper.Codeunit.al
    title: src/Layers/W1/BaseApp/Modules/System/WebRequest/UrlHelper.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 9005
name: Url Helper
namespace: System.Utilities
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 12
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 21
  implements: 0
---

# Codeunit 9005 "Url Helper"

> Codeunit 9005 "Url Helper" in Base Application (System.Utilities). 12 public procedures. Present since at least BC23, still in BC30.

Base Application · System.Utilities · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Modules/System/WebRequest/UrlHelper.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| SingleInstance | true |

## Procedures

- `IsPPE(): Boolean`
- `IsPROD(): Boolean`
- `IsTIE(): Boolean`
- `GetFixedClientEndpointBaseUrl(): Text`
- `GetFixedEndpointWebServiceUrl(): Text`
- `GetGraphUrl(): Text`
- `GetAzureADAuthEndpoint(): Text`
- `GetO365Resource(): Text`
- `GetExcelAddinProviderServiceUrl(): Text`
- `GetTenantUrl(): Text`
- `GetOfficePortalUrl(): Text`
- `GetPowerAppsUrl(): Text`

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 3704 "Url Helper Impl."](../codeunit/3704.md) (12 calls: `GetAzureADAuthEndpoint → GetAzureADAuthEndpoint`, `GetExcelAddinProviderServiceUrl → GetExcelAddinProviderServiceUrl`, `GetFixedClientEndpointBaseUrl → GetFixedClientEndpointBaseUrl`, …)

## Called by

- [Codeunit 6324 "Power BI Url Mgt"](../codeunit/6324.md) (5 calls: `GetBaseApiUrl → IsPPE`, `GetLicenseUrl → IsPPE`, `GetPowerBIEmbedReportsUrl → IsPPE`, …)
- [Codeunit 560 "CrossIntercompany Connector"](../codeunit/560.md) (4 calls: `GetValidatedTokenEndpoint → IsPPE`, `GetValidatedTokenEndpoint → IsPROD`, `IsDestinationUrlTrusted → IsPPE`, …)
- [Codeunit 9033 "Invite External Accountant"](../codeunit/9033.md) (4 calls: `GetGraphInvitationsUrl → GetGraphUrl`, `GetGraphSubscribedSkusUrl → GetGraphUrl`, `GetGraphUserUrl → GetGraphUrl`, …)
- [Codeunit 1686 "Email Logging OAuth Client"](../codeunit/1686.md) (2 calls: `GetApplicationType → IsPROD`, `TryGetAccessTokenInternal → GetGraphUrl`)
- [Codeunit 4507 "Email - OAuth Client"](../codeunit/4507.md) (2 calls: `GetOAuthAuthorityUrl → GetAzureADAuthEndpoint`, `TryGetAccessTokenInternal → GetGraphUrl`)
- [Codeunit 6300 "Azure AD Mgt."](../codeunit/6300.md) (2 calls: `GetAzureADAuthEndpoint → GetAzureADAuthEndpoint`, `GetO365Resource → GetO365Resource`)
- [Codeunit 6710 "ODataUtility"](../codeunit/6710.md) (2 calls: `CreateMetadataWebRequest → GetFixedEndpointWebServiceUrl`, `GetExcelAddinProviderServiceUrl → GetExcelAddinProviderServiceUrl`)
- [Codeunit 6905 "Import Expense User"](../codeunit/6905.md) (2 calls: `GetGraphBaseUrl → GetGraphUrl`, `HasGraphHost → GetGraphUrl`)
- [Codeunit 9510 "Document Service Management"](../codeunit/9510.md) (2 calls: `GetDefaultLocation → GetGraphUrl`, `GetGraphDomain → GetGraphUrl`)
- [Page 6991 "Expense Agent Setup Wizard"](../page/6991.md) (2 calls: `GetExpenseDashboardUrl → IsPPE`, `GetExpenseDashboardUrl → IsTIE`)
- [Codeunit 1151 "COHUB Core"](../codeunit/1151.md) (1 call: `GetFixedClientUrl → GetFixedClientEndpointBaseUrl`)
- [Codeunit 2752 "Universal Print Graph Helper"](../codeunit/2752.md) (1 call: `GetGraphDomain → GetGraphUrl`)
- [Codeunit 4586 "SOA Dispatcher"](../codeunit/4586.md) (1 call: `AddTask → GetGraphUrl`)
- [Codeunit 6334 "Power BI Upload Step Runner"](../codeunit/6334.md) (1 call: `UpdateParameters → GetFixedEndpointWebServiceUrl`)
- [Codeunit 6904 "Expense OAuth Client"](../codeunit/6904.md) (1 call: `BuildGraphScopes → GetGraphUrl`)
- [Codeunit 6938 "EA Agent Dispatcher"](../codeunit/6938.md) (1 call: `AddTask → GetGraphUrl`)
- [Codeunit 7201 "CDS Integration Impl."](../codeunit/7201.md) (1 call: `ConfigureVirtualTables → IsPPE`)
- [Page 1803 "Assisted Company Setup Wizard"](../page/1803.md) (1 call: `TryDownloadCompanyDetailsFromMicrosoft365 → GetGraphUrl`)
- [Page 7213 "CRM BC Virtual Table Config."](../page/7213.md) (1 call: `OnInit → IsPPE`)
- [Page 9033 "Invite External Accountant"](../page/9033.md) (1 call: `GetWebClientUrl → GetFixedClientEndpointBaseUrl`)
- [Page 9807 "User Card"](../page/9807.md) (1 call: `ManageUsersIsAllowed → GetOfficePortalUrl`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Url Helper")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
