Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is there any workaround for using Entra Tokens? #517

Open
@ShenyiLu-SnapLogic

Description

@ShenyiLu-SnapLogic

https://devblogs.microsoft.com/devops/no-new-azure-devops-oauth-apps-beginning-february-2025/
No new Azure DevOps OAuth apps beginning March 2025, so our team is planning to update our code to use Entra application instead.

With the new Entra on-behalf-of token, we can call dev API directly, likehttps://dev.azure.com/<our_org>/<our_project>/_apis/git/repositories?api-version=7.1-preview.1, but we can not use it with this SDK. The exception is thrown here:
https://github.com/microsoft/azure-devops-python-api/blob/dev/azure-devops/azure/devops/connection.py#L70
resource_areas = self._get_resource_areas()
"TF400813: The user '<user_id>' is not authorized to access this resource."
This code is supposed to fetchResourceAreaInfo for azure.devops.connection.Connection.

Is there any workaround to use Entra token? Or any plan to update this SDK to be compatible with Entra?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp