alan-turing-institute / data-safe-haven

https://data-safe-haven.readthedocs.io
BSD 3-Clause "New" or "Revised" License
57 stars 15 forks source link

Traceback when not logged in to azure and attempting to deploy shm #2069

Closed craddm closed 1 month ago

craddm commented 1 month ago

:white_check_mark: Checklist

:computer: System information

:package: Packages

List of packages ```none Paste list of packages here ```

:no_entry_sign: Describe the problem

:deciduous_tree: Log messages

Relevant log messages ```none (data-safe-haven) deploydsh@403b243ad50e:/workspaces/data-safe-haven$ dsh shm deploy Please authenticate with Azure: run 'az login' using infrastructure administrator credentials. Error getting account information from Azure CLI. ╭─────────────────────────────── Traceback (most recent call last) DataSafeHavenAzureError: Error getting account information from Azure CLI. ```

:recycle: To reproduce

Run dsh shm deploy without first using az login