---
id: change/bcapps/9814
type: change
title: '#9814 Revert "Expose AppService location and EUDB membership on Environment Information for internal consumption (#9716)"'
summary: Removed Microsoft-only methods from the public Environment Information codeunit to avoid exposing internal functionality that third-party extensions cannot use.
tier: official
language: en
tags:
  - other
  - main
  - bc30
  - codeunit environment information
  - codeunit environment information impl.
system: administration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:10:56.369Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 95f453d5738d8599d97b2d2fac5f150d0af3fd70
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9814
    title: 'microsoft/BCApps#9814: Revert "Expose AppService location and EUDB membership on Environment Information for internal consumption (#9716)"'
    date: "2026-07-29"
    commit: 95f453d5738d8599d97b2d2fac5f150d0af3fd70
    t: null
    quote: Exposing Microsoft-only functionality on a public System Application codeunit is an anti-pattern we want to avoid.
links:
  learn: []
  objects:
    - object/codeunit/457
    - object/codeunit/3702
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9814
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9814
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-29T21:49:08Z"
author: t-prda
author_type: User
community_contribution: false
labels:
  - "AL: System Application"
  - "Team: Integrations"
change_class: code
change_kind: other
behavior_change: true
breaking: false
files:
  count: 4
  additions: 0
  deletions: 126
  al: 2
apps:
  - System Application
objects_touched:
  - key: codeunit/457
    page: codeunit/457
    type: codeunit
    id: 457
    name: Environment Information
    app: System Application
    status: modified
  - key: codeunit/3702
    page: codeunit/3702
    type: codeunit
    id: 3702
    name: Environment Information Impl.
    app: System Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 643989
systems:
  - administration
quote: Exposing Microsoft-only functionality on a public System Application codeunit is an anti-pattern we want to avoid.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9814 Revert "Expose AppService location and EUDB membership on Environment Information for internal consumption (#9716)"

> Removed Microsoft-only methods from the public Environment Information codeunit to avoid exposing internal functionality that third-party extensions cannot use.

[Pull request](https://github.com/microsoft/BCApps/pull/9814) · merged into `main` (BC30) on 2026-07-29 by t-prda · 4 files (+0 -126), 2 AL · other · tier official · reviewed (checked by Opus)

## What changed

- Reverted addition of GetApplicationServiceLocation() and IsApplicationServiceInEUDB() methods
- These methods were restricted to Microsoft-published callers via NavApp.GetCallerModuleInfo
- Removed companion test codeunit for partner testing
- Eliminates anti-pattern of public API advertising functionality unavailable to third parties
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 457 "Environment Information"](../../objects/codeunit/457.md), System Application: modified
- [Codeunit 3702 "Environment Information Impl."](../../objects/codeunit/3702.md), System Application: modified

## Context

- Work items: AB#643989
- Labels: AL: System Application, Team: Integrations
- Systems: administration
- From the description: "Exposing Microsoft-only functionality on a public System Application codeunit is an anti-pattern we want to avoid."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
