---
id: change/bcapps/10335
type: change
title: "#10335 Unblock bc login due to pp failures"
summary: Business Central sign-in no longer blocks when Power Platform environment lookup fails. The change handles lookup failures gracefully by logging telemetry for diagnosis while allowing sign-in to proceed.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit flow service management
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:15.279Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: d498b125cf73a804d6673fc65ddf963e231f53cf
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10335
    title: "microsoft/BCApps#10335: Unblock bc login due to pp failures"
    date: "2026-09-07"
    commit: d498b125cf73a804d6673fc65ddf963e231f53cf
    t: null
    quote: Prevents Business Central sign-in from being blocked when the linked Power Platform environment lookup fails.
links:
  learn: []
  objects:
    - object/codeunit/6400
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10335
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10335
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-07T08:17:07Z"
author: rupeshdan
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 150
  deletions: 8
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/6400
    page: codeunit/6400
    type: codeunit
    id: 6400
    name: Flow Service Management
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 620236
systems:
  - development
quote: Prevents Business Central sign-in from being blocked when the linked Power Platform environment lookup fails.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10335 Unblock bc login due to pp failures

> Business Central sign-in no longer blocks when Power Platform environment lookup fails. The change handles lookup failures gracefully by logging telemetry for diagnosis while allowing sign-in to proceed.

[Pull request](https://github.com/microsoft/BCApps/pull/10335) · merged into `main` (BC30) on 2026-09-07 by rupeshdan · 2 files (+150 -8), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Prevents sign-in blocking when linked Power Platform environment lookup fails
- Lookup failures are logged to telemetry instead of being surfaced to the caller
- Null GUIDs and empty environment responses are ignored
- Returns a clear error when no Power Platform tenant is configured
- Adds integration tests for failed, null, valid and empty-response scenarios
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6400 "Flow Service Management"](../../objects/codeunit/6400.md), Base Application: modified

## Context

- Work items: AB#620236
- Labels: Team: Integrations
- Systems: development
- From the description: "Prevents Business Central sign-in from being blocked when the linked Power Platform environment lookup fails."

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