#15036·algo

Provisioning with Azure does not work

Author: mntltyCreated Aug 21, 2026Updated Aug 21, 2026

What happened?

Provisioning to Azure fails regardless of region due to an apparent breaking Azure SDK change.

Paste any error messages or relevant output here

TASK [cloud-azure : Create AlgoVPN Server] *************************************************************************************************************************************************
[ERROR]: Task failed: Module failed: Failed to import the required Python library (azure.mgmt.managementgroups). Please install them by running: pip install -r requirements.txt. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter.
Origin: ~/algo/roles/cloud-azure/tasks/main.yml:12:3

10       endif -%}
11
12 - name: Create AlgoVPN Server
     ^ column 3

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (azure.mgmt.managementgroups). Please install them by running: pip install -r requirements.txt. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter."}

TASK [include_tasks] ***********************************************************************************************************************************************************************
included: ~algo/playbooks/rescue.yml for localhost

TASK [debug] *******************************************************************************************************************************************************************************
ok: [localhost] => {
    "fail_hint": [
        "Sorry, but something went wrong!",
        "Check troubleshooting for common fixes, or file an issue if you found a bug.",
        "https://trailofbits.github.io/algo/troubleshooting.html",
        "https://github.com/trailofbits/algo/issues/new"
    ]
}

TASK [Fail the installation] ***************************************************************************************************************************************************************
[ERROR]: Task failed: Action failed: Failed as requested from task
Origin: ~/algo/playbooks/rescue.yml:5:3

3     var: fail_hint
4
5 - name: Fail the installation
    ^ column 3

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}

PLAY RECAP *********************************************************************************************************************************************************************************
localhost                  : ok=35   changed=1    unreachable=0    failed=1    skipped=1    rescued=1    ignored=0

Environment (cloud provider, OS, WireGuard or IPsec)

Azure OS X 26.6.2 (Tahoe)

Output

see the error message above

5.6 Luna was able to navigate by downgrading some of the dependencies in pyproject.toml and requirements.yml.