如何修复拒绝访问:使用的个人访问令牌已过期

时间:2021-07-19 00:02:08

标签: azure-devops

我们遇到“拒绝访问:使用的个人访问令牌已过期。”,我们的 PAT 仍然有效。

知道会发生什么吗?

Dim cc As ContentControl

Sub ResetForm()
    TextBox1 = ""
    TextBox2 = ""
    TextBox3 = ""
    TextBox4 = ""
    TextBox5 = ""
End Sub

Private Sub Clear_Click()
Form_clear = MsgBox("Are you sure you want to clear the form?", vbYesNo + vbQuestion, "Question")
    If Form_clear = 6 Then
        Call ResetForm
    Else
        Form_clear = 7
    End If
End Sub

Private Sub Copy_Click()
    Dim text1 As String


End Sub

我不确定哪个令牌已过期,如何查找?

enter image description here

1 个答案:

答案 0 :(得分:0)

<块引用>

如何修复拒绝访问:使用的个人访问令牌已过期

检查PAT令牌是否过期的直接方法是在管道中找到PAT使用的地方,找到PAT的名称,然后检查是否过期。

此外,如果您在管道中找不到它,您可以转到个人访问令牌:

enter image description here

然后检查到期时间列。