Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug] powerplatformadminv2 Failed to get OBO token from PFT exchange

Open
#401 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
azure, typescript

Research direction

Start by reproducing the Power Platform Admin V2 request in a private tab with an account requiring MFA, then compare the network request before and after signing in to portal.azure.com. Trace the OBO token exchange associated with the failing request; done means Code Apps load successfully without prior Azure portal authentication.

Written by the indexing model from the issue text.

Description

bug

Describe the bug

Code Apps using Power Platform Admin V2 connections if opened in private tab (without prior authentication to Portal Azure fail with Failed to acquire OBO token: S2S33107: Failed to get OBO token from PFT exchange.

Steps to Reproduce

  1. Use account where 2FA is required to access Azure or triggered due to "AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access "
  2. Open Code App that leverages Power Platform Admin V2 connector for example https://github.com/Laskewitz/Power-Platform-Control-Hub
  3. Application fails on requests such as
    https://6dd053988d8fe17a8e228f6b587e23.08.environment.api.powerplatform.com/connectors/runtime/invoke/scalegroups/usa002/shards/01/apis/powerplatformadminv2/connections//7fb2a23078d5450f8ad66b47650b7c02/resourcequery/resources/query?api-version=2024-10-01

Expected behavior

Content loads correctly

Actual behavior

400 Bad Request; after logging in to portal.azure.com with 2FA app is loading correctly

Screenshots or Error Messages

Image

Additional context

Network logs sent to Code Apps Email.

Dominant language
TypeScript
Stars
504
Forks
145
Avg merge
4h 3m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/PowerAppsCodeApps

All issues in microsoft/PowerAppsCodeApps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.