Skip to content

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

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions