Skip to content

Add wait on Get Access screen to handle duplicate APP flow trigger, Fixes AB#3667378#3166

Open
mohitc1 wants to merge 5 commits into
devfrom
mchand/app-protection-policy-pin-resiliency-v2
Open

Add wait on Get Access screen to handle duplicate APP flow trigger, Fixes AB#3667378#3166
mohitc1 wants to merge 5 commits into
devfrom
mchand/app-protection-policy-pin-resiliency-v2

Conversation

@mohitc1

@mohitc1 mohitc1 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Due to a known issue in Company Portal, the App Protection Policy flow can trigger twice. The second instance only appears while still on the Get Access screen. By waiting 10s before clicking Continue, we absorb the potential second instance so the PIN flow only runs once.
Fixes AB#3673330

Due to a known issue in Company Portal, the App Protection Policy flow
can trigger twice. The second instance only appears while still on the
Get Access screen. By waiting 10s before clicking Continue, we absorb
the potential second instance so the PIN flow only runs once.

AB#3667378
@github-actions

Copy link
Copy Markdown

✅ Work item link check complete. Description contains link AB#3667378 to an Azure Boards work item.

@github-actions

Copy link
Copy Markdown

❌ Work item link check failed. Description contains AB#3667378 but the Bot could not link it to an Azure Boards work item.

Click here to learn more.

@github-actions

Copy link
Copy Markdown

❌ Work item link check failed. Description does not contain AB#{ID}.

Click here to Learn more.

@mohitc1 mohitc1 added the No-Changelog This Pull-Request has no associated changelog entry. label Jun 22, 2026
@mohitc1 mohitc1 marked this pull request as ready for review June 22, 2026 23:14
@mohitc1 mohitc1 requested a review from a team as a code owner June 22, 2026 23:14
Copilot AI review requested due to automatic review settings June 22, 2026 23:14
@github-actions github-actions Bot changed the title Add wait on Get Access screen to handle duplicate APP flow trigger Add wait on Get Access screen to handle duplicate APP flow trigger, Fixes AB#3667378 Jun 22, 2026
@github-actions

Copy link
Copy Markdown

✅ Work item link check complete. Description contains link AB#3673330 to an Azure Boards work item.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Company Portal UI automation for App Protection Policy handling to reduce flakiness caused by a known duplicate APP flow trigger while on the “Get Access” screen.

Changes:

  • Add a fixed 10s wait on the “Get Access” screen before clicking Continue to absorb a potential second APP flow instance.
  • Remove the previous “second PIN screen” detection/retry logic after PIN entry.
  • Update inline comments/logging to document the new mitigation approach.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No-Changelog This Pull-Request has no associated changelog entry.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants