Skip to content

[Chore] Azure CLI auth is deprecated #1836

@achantavy

Description

@achantavy
[2025-08-21T13:25:56Z] INFO cartography.sync: Starting sync stage 'azure'
[2025-08-21T13:25:56Z] ERROR cartography.intel.azure: Unable to authenticate with Azure Service Principal, an error occurred: The public API of azure-cli-core has been deprecated starting 2.21.0, and this method can no longer return a valid credential. If you need to still use this method, you need to install 'azure-cli-core<2.21.0'. You may corrupt data if you use current CLI and old azure-cli-core. See also: https://aka.ms/azsdk/python/identity/migration.Make sure your Azure Service Principal details are provided correctly.

Should fix this.

As workaround, can use --azure-sp-auth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    module:AzureRelated to the Azure intel module

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions