---
id: change/bcapps/11258
type: change
title: "#11258 [GB] IdealPostcodes: fix provider selection and address retrieval through the Postcode Service Manager framework"
summary: The IdealPostcodes postcode provider now correctly registers with the Postcode Service Manager framework and retrieves addresses by caching search results and resolving unmapped IDs through the API's resolve endpoint instead of a non-existent fetch endpoint.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit ipc address cache
  - codeunit ipc management
  - codeunit ipc provider
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-24T00:37:49.439Z"
  flags: []
generated:
  at: "2026-10-29T00:16:37.959Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: d10c3dbcfd206308639192fb51e888e811a00d52
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11258
    title: "microsoft/BCApps#11258: [GB] IdealPostcodes: fix provider selection and address retrieval through the Postcode Service Manager framework"
    date: "2026-10-23"
    commit: d10c3dbcfd206308639192fb51e888e811a00d52
    t: null
    quote: A BC partner integrating with IdealPostcodes as a postcode provider through the Postcode Service Manager framework reported the lookup never becoming available.
links:
  learn: []
  objects:
    - object/codeunit/9405-gb
    - object/codeunit/9400-gb
    - object/codeunit/9403-gb
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/UnitedKingdom/ui-extensions-setup-idealpostcodes-service
      title: Set up the Ideal Postcodes Extension [UK]
      label: possibly related
      why: Fixes address retrieval through Ideal Postcodes provider framework
      by: model
number: 11258
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11258
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-23T13:40:50Z"
author: sergey-idealpostcodes
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 6
  additions: 416
  deletions: 69
  al: 3
apps:
  - IdealPostcodes
objects_touched:
  - key: codeunit/9405
    page: codeunit/9405-gb
    type: codeunit
    id: 9405
    name: IPC Address Cache
    app: IdealPostcodes
    status: added
  - key: codeunit/9400
    page: codeunit/9400-gb
    type: codeunit
    id: 9400
    name: IPC Management
    app: IdealPostcodes
    status: modified
  - key: codeunit/9403
    page: codeunit/9403-gb
    type: codeunit
    id: 9403
    name: IPC Provider
    app: IdealPostcodes
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 11254
work_items:
  - 652072
systems:
  - platform
quote: A BC partner integrating with IdealPostcodes as a postcode provider through the Postcode Service Manager framework reported the lookup never becoming available.
joined_against:
  major: "30"
  commit: 15385dede95a4f9e7be01be47c684fc9d654a7ce
---

# #11258 [GB] IdealPostcodes: fix provider selection and address retrieval through the Postcode Service Manager framework

> The IdealPostcodes postcode provider now correctly registers with the Postcode Service Manager framework and retrieves addresses by caching search results and resolving unmapped IDs through the API's resolve endpoint instead of a non-existent fetch endpoint.

[Pull request](https://github.com/microsoft/BCApps/pull/11258) · merged into `main` (BC30) on 2026-10-23 by sergey-idealpostcodes (community contribution) · 6 files (+416 -69), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixed provider key registration so the framework correctly recognizes configured IdealPostcodes service
- Address retrieval now uses cached search results instead of making unnecessary API calls
- Unknown address IDs are resolved through the correct resolve endpoint instead of a non-existent route
- New address cache codeunit stores search results for the session to avoid duplicate lookups
- Tests verify correct provider configuration, search result caching, and proper ID resolution
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 9405 "IPC Address Cache"](../../objects/codeunit/9405-gb.md), IdealPostcodes (GB layer): added
- [Codeunit 9400 "IPC Management"](../../objects/codeunit/9400-gb.md), IdealPostcodes (GB layer): modified
- [Codeunit 9403 "IPC Provider"](../../objects/codeunit/9403-gb.md), IdealPostcodes (GB layer): modified

## Context

- Fixes: [#11254 [GB] IdealPostcodes provider is unusable through the Postcode Service Manager framework](https://github.com/microsoft/BCApps/issues/11254) (closed)
- Work items: AB#652072
- Labels: ADO: Sync, From Fork, Team: Integrations
- Systems: platform
- From the description: "A BC partner integrating with IdealPostcodes as a postcode provider through the Postcode Service Manager framework reported the lookup never becoming available."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Set up the Ideal Postcodes Extension \[UK\]](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/UnitedKingdom/ui-extensions-setup-idealpostcodes-service) — possibly related: Fixes address retrieval through Ideal Postcodes provider framework (model-linked)

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).
