Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#401 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
azure, typescript

调研方向

首先,使用需要 MFA 的账户在隐私标签页中重现 Power Platform Admin V2 请求,然后比较登录 portal.azure.com 前后的网络请求。跟踪与失败请求关联的 OBO 令牌交换;完成标准是无需事先进行 Azure portal 身份验证即可成功加载 Code Apps。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
504
派生
145
平均合并
4 小时 3 分钟
30 天内合并 PR
1

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/PowerAppsCodeApps 的其他 Issue

查看 microsoft/PowerAppsCodeApps 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。