[Announcement] Azure AD Graph API retirement: action required if you're on an old Azure CLI release

Đang mở
#34,178 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@isra-fel đang làm issue này rồi.

Từ ngày 7/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

AAD Auto-Assign feature-request

Summary

Azure AD Graph API (the legacy graph.windows.net API
entered its retirement process in September 2024, with the general shutdown completed on
July 1, 2025. Azure CLI completed its migration away from Azure AD Graph well ahead of that
deadline — az ad commands have been backed by Microsoft Graph since Azure CLI 2.37.0.
If you are running a current version of Azure CLI, no action is required.

This issue is for customers still running an old, unsupported release that may still depend on
Azure AD Graph.

Why you're seeing this now

Because Azure CLI is a Microsoft first-party client, its Azure AD Graph application identity has
remained available temporarily, purely to give very old releases a transition buffer. This does
not mean those old releases are supported — they have long been out of maintenance. Beginning
after October 6, 2026, the Microsoft Entra team will progressively disable this remaining
legacy access over a two-month period. Old Azure CLI releases that still depend on Azure AD Graph
may stop working at any point during this phased shutdown.

Am I affected?

You are only affected if you are running Azure CLI older than 2.37.0. Check your version with:

az version

If you're on 2.37.0 or later, you are already using Microsoft Graph and this does not apply to you.

What to do

If you're on an old release:

  1. Upgrade to the latest Azure CLI as soon as possible:
    Install or update Azure CLI
  2. Check CI/CD pipeline images, automation runbooks, and any pinned/containerized environments —
    these are the most common places an old version silently persists even after developer
    machines have been updated.
  3. If you have custom scripts or tooling calling graph.windows.net directly (independent of
    az), those will need to migrate to Microsoft Graph directly regardless of your Azure CLI
    version.

Questions or issues

If you believe you're on a current Azure CLI release but are still seeing Azure AD Graph-related
authentication errors, please comment on this issue or open a new issue with your az version
output and the exact error message.

Ngôn ngữ chính
Python
Star
4.7k
Fork
3.5k
Merge trung bình
4 ngày 14 giờ
Pull request đã merge (30 ngày)
92

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/azure-cli

Tất cả issue của Azure/azure-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.