TF400813:用户''无权访问此资源 [英] TF400813: The user '' is not authorized to access this resource

查看:38
本文介绍了TF400813:用户''无权访问此资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有自己的私人组织和存储库.我也有多个目录,除了"Microsoft account"目录外,其他所有目录都可以工作.

I have my own private organization and repositories. I also have multiple directories and all of them work except for the "Microsoft account" directory.

我可以使用Microsoft帐户目录登录到Azure Devops.

I am able to log into Azure Devops no problem using the Microsoft account directory.

我看到了我的组织,可以浏览我的存储库,代理,渠道和所有内容.但是,我什么也不能改变.我得到的只是错误或屏幕未完全加载.就像只读模式一样.

I see my organization and I can go through my repositories, agents, pipelines, everything. However, I can't change anything. All I get is the error or screens that don't load fully. Its like its in read only mode.

我进入了用户设置来检查权限,它只允许我进入,但到目前为止.选择组后,它将停止加载用户列表.但是,它向我显示了所有内容的组和权限.

I went into user settings to check permissions and it lets me in but only so far. It stops loading user lists after selecting groups. It shows me groups and permissions for everything, however.

当我尝试生成PAT时,屏幕会坐在那里,并显示正在加载令牌..."

When I try and generate a PAT, the screen sits there and says "Loading Tokens..."

我在网络各处和网络响应中看到的错误是:

The error I see everywhere and in the network responses is:

$id: "1"
innerException: null
message: "TF400813: The user '' is not authorized to access this resource."
typeName: "Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server"
typeKey: "UnauthorizedRequestException"
errorCode: 0
eventId: 3000

就像这样,引号之间没有任何内容.

Exactly like that, nothing there between the quotes.

它也以红色显示,并带有以下消息: TF400813:用户"无权访问此资源.

It also shows up in Red text with just this message: TF400813: The user '' is not authorized to access this resource.

要解决此问题,我做了以下工作:完全注销了devop,这似乎使我退出了一些服务.登录后在我的AD帐户之间切换.我已经重启了机器(我首先开始在VS中看到它,因此我进行了更新和重启)

To resolve this I have done the following: Logged out of devops entirely, which seems to log me out of several services. Switched between my AD accounts while logged in. I've rebooted my machine(I first started seeing this in VS so I updated and rebooted as part of that)

我这里想念什么吗?

推荐答案

消息:"TF400813:用户"无权访问此消息资源.

message: "TF400813: The user '' is not authorized to access this resource.

这看起来更像是匿名访问错误,因为您说引号之间没有任何区别.

This looks more like the anonymous access error as you said that there's nothing between the quotes.

在天生的开发人员(例如 PAT生成的)中,大多数服务都有自己的安全模块.如果 user 要使用它们,则必须首先通过身份检查.如果对于系统,您的访问和操作被标识为 anonymous ,则其外观类似于只读.

In azure devops, e.g PAT generated, most services have themselves security module. When user want to make use of them, it must pass the firstly identity check. If for system, your visit and operate are identified as anonymous, it will look like read-only.

我们曾经处理过此类问题,并发现是由于代理阻止了流量,这也导致他在通过vscode访问azure devops时遇到相同的错误.(与您类似)

We ever handled such issue and found it due to the proxy blocking the traffic, which also lead him to get the same error when accessing azure devops with vscode.(Similar with yours)

您需要确认您身边是否配置了任何代理.

You need confirm is there any proxy configured in your side.

如果未设置代理,但仍然存在此问题.由于Stackflow是一个开放论坛,但这是一个身份问题.我强烈建议您与

If there's no proxy set but still has this issue. Since Stackflow is a open forum but this is a identity issue. I strongly suggest you contact here and then attach below info also:

  • 活动ID :您可以从 Network Headers 中看到它.对于我们的后端,我们可以使用此ID检查确切的堆栈痕迹.
  • 组织名称帐户名称.
  • 提琴手跟踪.我们需要的最有用的信息是提琴手跟踪.
  • Activity id: You could see this from the Headers of Network. For our backend, we could use this id to check the exactly stack trace.
  • Org name and account name.
  • Fiddler trace. The mostly useful info we need is fiddler trace.

这篇关于TF400813:用户''无权访问此资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆