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
- 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 "
- Open Code App that leverages Power Platform Admin V2 connector for example https://github.com/Laskewitz/Power-Platform-Control-Hub
- 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
Additional context
Network logs sent to Code Apps Email.
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
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
Additional context
Network logs sent to Code Apps Email.