KEMBAR78
_get_arc_endpoint references wrong path for azcmagent/bin · Issue #762 · AzureAD/microsoft-authentication-library-for-python · GitHub
Skip to content

_get_arc_endpoint references wrong path for azcmagent/bin #762

@msalwen

Description

@msalwen

The line linked below checks for the existence of /var/opt/azcmagent/bin/himds. On our Arc servers (and probably others) the himds executable is located at /opt/azcmagent/bin/himds. This failure requires manually setting the required env variables to bypass this statement or creating a symlink from /opt/azcmagent/bin to /var/opt/azcmagent/bin.

sys.platform == "linux" and os.path.exists("/var/opt/azcmagent/bin/himds")

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