Skip to content

azure --cli does not refresh credentials during long runs #1706

@PAKalucki

Description

@PAKalucki

Describe the bug

Scout does not refresh credentials during long runs with azure --cli (and possibly other authentication methods) which results in "Please run 'az login' to set up an account" by the end of execution.

To Reproduce

Issue occurs on large tenants/subscriptions where execution takes over 1 hour.

Version: 5.14.0

Extact command ran:

  • python3 scout.py azure --cli --no-browser --max-workers 30 --subscriptions $SUBSCRIPTIONS --services virtualmachines aad appservice keyvault loggingmonitoring mysqldatabase network postgresqldatabase rbac securitycenter sqldatabase storageaccounts virtualmachines

Additional context

2025-04-15T11:36:15.8136567Z 2025-04-15 11:36:15 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Launching Scout
2025-04-15T11:36:15.8136900Z 2025-04-15 11:36:15 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Authenticating to cloud provider
2025-04-15T11:36:18.3624144Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Running against 70 subscriptions
2025-04-15T11:36:18.7142081Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Gathering data from APIs
2025-04-15T11:36:18.7142968Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the Azure Active Directory service
2025-04-15T11:36:18.7143454Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the RBAC service
2025-04-15T11:36:18.7150289Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the Security Center service
2025-04-15T11:36:18.7155947Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the SQL Database service
2025-04-15T11:36:18.7161149Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the Storage Accounts service
2025-04-15T11:36:18.7166115Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the Key Vault service
2025-04-15T11:36:18.7171261Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the Network service
2025-04-15T11:36:18.7176022Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the Virtual Machines service
2025-04-15T11:36:18.7180842Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the App Services service
2025-04-15T11:36:18.7185310Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the MySQL Database service
2025-04-15T11:36:18.7192572Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the PostgresSQL Database service
2025-04-15T11:36:18.7196927Z 2025-04-15 11:36:18 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Fetching resources for the Logging Monitoring service
2025-04-15T11:39:00.4765478Z 2025-04-15 11:39:00 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR securitycenter.py L124: Failed to retrieve regulatory compliance standards: (NoRegulatoyComplianceDataFound) Failed to find the requested regulatory compliance data [] for subscription 'xyz'.
2025-04-15T11:39:00.4766564Z Code: NoRegulatoyComplianceDataFound
2025-04-15T11:39:00.4767757Z Message: Failed to find the requested regulatory compliance data [] for subscription 'xyz'.
2025-04-15T11:39:01.0157736Z 2025-04-15 11:39:01 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR rbac.py L23: Failed to retrieve roles: (AuthorizationFailed) The client 'xyz' with object id 'xyz' does not have authorization to perform action 'Microsoft.Authorization/roleDefinitions/read' over scope '/subscriptions/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.
2025-04-15T11:39:01.0158318Z Code: AuthorizationFailed
2025-04-15T11:39:01.0158937Z Message: The client 'xyz' with object id 'xyz' does not have authorization to perform action 'Microsoft.Authorization/roleDefinitions/read' over scope '/subscriptions/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.
2025-04-15T11:39:02.1038025Z 2025-04-15 11:39:02 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR securitycenter.py L124: Failed to retrieve regulatory compliance standards: (NoRegulatoyComplianceDataFound) Failed to find the requested regulatory compliance data [] for subscription 'xyz'.
2025-04-15T11:39:02.1039071Z Code: NoRegulatoyComplianceDataFound
2025-04-15T11:39:02.1039835Z Message: Failed to find the requested regulatory compliance data [] for subscription 'xyz'.
2025-04-15T11:39:06.7617110Z 2025-04-15 11:39:06 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR securitycenter.py L124: Failed to retrieve regulatory compliance standards: (NoRegulatoyComplianceDataFound) Failed to find the requested regulatory compliance data [] for subscription 'xyz'.
2025-04-15T11:39:06.7618507Z Code: NoRegulatoyComplianceDataFound
2025-04-15T11:39:06.7619150Z Message: Failed to find the requested regulatory compliance data [] for subscription 'xyz'.
2025-04-15T11:40:58.8922304Z 2025-04-15 11:40:58 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:01.7034621Z 2025-04-15 11:41:01 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:02.4423685Z 2025-04-15 11:41:02 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource images: 'Image' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:06.3945119Z 2025-04-15 11:41:06 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:20.0179100Z 2025-04-15 11:41:20 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:23.7537643Z 2025-04-15 11:41:23 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:24.0074565Z 2025-04-15 11:41:24 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:41:24.0075505Z 2025-04-15 11:41:24 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:24.3813033Z 2025-04-15 11:41:24 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:24.5279076Z 2025-04-15 11:41:24 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:24.6627400Z 2025-04-15 11:41:24 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:41:26.6036540Z 2025-04-15 11:41:26 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:26.8288071Z 2025-04-15 11:41:26 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:41:26.8603872Z 2025-04-15 11:41:26 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:41:27.8178725Z 2025-04-15 11:41:27 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource images: 'Image' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:27.8486611Z 2025-04-15 11:41:27 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:28.4559533Z 2025-04-15 11:41:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:29.0385781Z 2025-04-15 11:41:29 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:31.3112609Z 2025-04-15 11:41:31 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource images: 'Image' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:32.9167061Z 2025-04-15 11:41:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:33.1119241Z 2025-04-15 11:41:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:33.5383412Z 2025-04-15 11:41:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:41:33.6907602Z 2025-04-15 11:41:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:34.5789808Z 2025-04-15 11:41:34 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:35.8269239Z 2025-04-15 11:41:35 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:35.8715173Z 2025-04-15 11:41:35 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:36.6005885Z 2025-04-15 11:41:36 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:38.9649503Z 2025-04-15 11:41:38 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:39.3266417Z 2025-04-15 11:41:39 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:41:39.6959031Z 2025-04-15 11:41:39 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:41:39.7549387Z 2025-04-15 11:41:39 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:40.1717407Z 2025-04-15 11:41:40 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:43.1085767Z 2025-04-15 11:41:43 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:44.1067530Z 2025-04-15 11:41:44 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource images: 'Image' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:45.1955233Z 2025-04-15 11:41:45 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource images: 'Image' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:45.7788360Z 2025-04-15 11:41:45 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource images: 'Image' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:47.3114132Z 2025-04-15 11:41:47 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:41:54.6913400Z 2025-04-15 11:41:54 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource snapshots: 'Snapshot' object has no attribute 'hyper_vgeneration'
2025-04-15T11:46:52.7728836Z 2025-04-15 11:46:52 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L79: Failed to retrieve activity logs: (AuthorizationFailed) The client 'xyz' with object id 'xyz' does not have authorization to perform action 'microsoft.insights/eventtypes/values/read' over scope '/subscriptions/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.
2025-04-15T11:46:52.7729499Z Code: AuthorizationFailed
2025-04-15T11:46:52.7733405Z Message: The client 'xyz' with object id 'xyz' does not have authorization to perform action 'microsoft.insights/eventtypes/values/read' over scope '/subscriptions/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.
2025-04-15T11:48:58.4355165Z 2025-04-15 11:48:58 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:49:00.4912949Z 2025-04-15 11:49:00 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:49:01.4446736Z 2025-04-15 11:49:01 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:49:01.7158646Z 2025-04-15 11:49:01 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:49:02.0436908Z 2025-04-15 11:49:02 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:49:02.3929298Z 2025-04-15 11:49:02 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:51:09.5561246Z 2025-04-15 11:51:09 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: (FeatureNotSupportedForAccount) Blob is not supported for the account.
2025-04-15T11:51:09.5562782Z Code: FeatureNotSupportedForAccount
2025-04-15T11:51:09.5689989Z Message: Blob is not supported for the account.
2025-04-15T11:51:10.0910806Z 2025-04-15 11:51:10 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: (FeatureNotSupportedForAccount) Blob is not supported for the account.
2025-04-15T11:51:10.0911636Z Code: FeatureNotSupportedForAccount
2025-04-15T11:51:10.0912281Z Message: Blob is not supported for the account.
2025-04-15T11:51:12.2945202Z 2025-04-15 11:51:12 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L79: Failed to retrieve activity logs: (AuthorizationFailed) The client 'xyz' with object id 'xyz' does not have authorization to perform action 'microsoft.insights/eventtypes/values/read' over scope '/subscriptions/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.
2025-04-15T11:51:12.2946271Z Code: AuthorizationFailed
2025-04-15T11:51:12.2946875Z Message: The client 'xyz' with object id 'xyz' does not have authorization to perform action 'microsoft.insights/eventtypes/values/read' over scope '/subscriptions/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.
2025-04-15T11:51:45.6239359Z 2025-04-15 11:51:45 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: (FeatureNotSupportedForAccount) Blob is not supported for the account.
2025-04-15T11:51:45.6240311Z Code: FeatureNotSupportedForAccount
2025-04-15T11:51:45.6240555Z Message: Blob is not supported for the account.
2025-04-15T11:51:46.6173232Z 2025-04-15 11:51:46 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: (FeatureNotSupportedForAccount) Blob is not supported for the account.
2025-04-15T11:51:46.6174282Z Code: FeatureNotSupportedForAccount
2025-04-15T11:51:46.6176836Z Message: Blob is not supported for the account.
2025-04-15T11:52:08.9363515Z 2025-04-15 11:52:08 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: (FeatureNotSupportedForAccount) Blob is not supported for the account.
2025-04-15T11:52:08.9364287Z Code: FeatureNotSupportedForAccount
2025-04-15T11:52:08.9364578Z Message: Blob is not supported for the account.
2025-04-15T11:52:09.3023702Z 2025-04-15 11:52:09 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: (FeatureNotSupportedForAccount) Blob is not supported for the account.
2025-04-15T11:52:09.3026533Z Code: FeatureNotSupportedForAccount
2025-04-15T11:52:09.3026886Z Message: Blob is not supported for the account.
2025-04-15T11:52:19.3578748Z 2025-04-15 11:52:19 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: (FeatureNotSupportedForAccount) Blob is not supported for the account.
2025-04-15T11:52:19.3579805Z Code: FeatureNotSupportedForAccount
2025-04-15T11:52:19.3580460Z Message: Blob is not supported for the account.
2025-04-15T11:52:21.4098707Z 2025-04-15 11:52:21 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: (FeatureNotSupportedForAccount) Blob is not supported for the account.
2025-04-15T11:52:21.4099973Z Code: FeatureNotSupportedForAccount
2025-04-15T11:52:21.4100434Z Message: Blob is not supported for the account.
2025-04-15T11:52:43.8226488Z 2025-04-15 11:52:43 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:52:48.2125806Z 2025-04-15 11:52:48 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:53:04.8099196Z 2025-04-15 11:53:04 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:53:08.8788713Z 2025-04-15 11:53:08 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:53:10.2251544Z 2025-04-15 11:53:10 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:53:11.1447508Z 2025-04-15 11:53:11 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR base.py L17: Failed to call fetch_all() for resource instances: 'NoneType' object has no attribute 'version'
2025-04-15T11:57:36.5084002Z 2025-04-15 11:57:36 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L79: Failed to retrieve activity logs: (AuthorizationFailed) The client 'xyz' with object id 'xyz' does not have authorization to perform action 'microsoft.insights/eventtypes/values/read' over scope '/subscriptions/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.
2025-04-15T11:57:36.5085003Z Code: AuthorizationFailed
2025-04-15T11:57:36.5085227Z Message: The client 'xyz' with object id 'xyz' does not have authorization to perform action 'microsoft.insights/eventtypes/values/read' over scope '/subscriptions/xyz' or the scope is invalid. If access was recently granted, please refresh your credentials.
2025-04-15T12:31:18.8636501Z 2025-04-15 12:31:18 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L79: Failed to retrieve activity logs: Please run 'az login' to set up an account
2025-04-15T12:31:20.3414531Z 2025-04-15 12:31:20 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L79: Failed to retrieve activity logs: Please run 'az login' to set up an account
2025-04-15T12:31:24.7508655Z 2025-04-15 12:31:24 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:25.0554233Z 2025-04-15 12:31:25 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:25.8453716Z 2025-04-15 12:31:25 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:25.8571809Z 2025-04-15 12:31:25 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:25.9271060Z 2025-04-15 12:31:25 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:25.9553481Z 2025-04-15 12:31:25 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:25.9851347Z 2025-04-15 12:31:25 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:26.2810404Z 2025-04-15 12:31:26 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:26.5750476Z 2025-04-15 12:31:26 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:26.6442183Z 2025-04-15 12:31:26 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:26.9165182Z 2025-04-15 12:31:26 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:27.1144971Z 2025-04-15 12:31:27 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:27.2032080Z 2025-04-15 12:31:27 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:27.4142140Z 2025-04-15 12:31:27 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:27.4586538Z 2025-04-15 12:31:27 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:27.7741718Z 2025-04-15 12:31:27 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.0930703Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.0949702Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.0950424Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.0951102Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:28.0952014Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:28.1945116Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:28.3505488Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.5392571Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.6783353Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.6911320Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.7754910Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:28.7773152Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:28.7956208Z 2025-04-15 12:31:28 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:29.7649258Z 2025-04-15 12:31:29 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:30.3191986Z 2025-04-15 12:31:30 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:31.9661248Z 2025-04-15 12:31:31 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:32.0726539Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:32.1191321Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:32.1486788Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:32.4173059Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:32.5462221Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:32.7376468Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:32.7793056Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:32.8195738Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:32.9027979Z 2025-04-15 12:31:32 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:33.0207540Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:33.1132894Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:33.1650810Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:33.3351734Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:33.4082869Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:33.6888666Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:33.8242532Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:33.8257755Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:33.8540684Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:33.8570708Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:33.8890680Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:33.9374013Z 2025-04-15 12:31:33 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:34.0649462Z 2025-04-15 12:31:34 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:34.0790916Z 2025-04-15 12:31:34 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:34.1140375Z 2025-04-15 12:31:34 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:34.1510175Z 2025-04-15 12:31:34 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:34.1827019Z 2025-04-15 12:31:34 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:31:34.5085414Z 2025-04-15 12:31:34 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L51: Failed to retrieve blob services: Please run 'az login' to set up an account
2025-04-15T12:31:35.2573333Z 2025-04-15 12:31:35 azdevops-deployment-64787f4856-gfh7q scout[304] ERROR storageaccounts.py L38: Failed to retrieve blob containers: Please run 'az login' to set up an account
2025-04-15T12:35:44.0801348Z 2025-04-15 12:35:44 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Running pre-processing engine
2025-04-15T12:35:44.1857055Z 2025-04-15 12:35:44 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Running rule engine
2025-04-15T12:35:45.8824990Z 2025-04-15 12:35:45 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Applying display filters
2025-04-15T12:35:45.8828268Z 2025-04-15 12:35:45 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Running post-processing engine
2025-04-15T12:35:45.9220757Z 2025-04-15 12:35:45 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Saving data to /azp/_work/1/a/report/scoutsuite-results/scoutsuite_results_azure-tenant-xyz.js
2025-04-15T12:35:46.6172739Z 2025-04-15 12:35:46 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Saving data to /azp/_work/1/a/report/scoutsuite-results/scoutsuite_exceptions_azure-tenant-xyz.js
2025-04-15T12:35:46.6173434Z 2025-04-15 12:35:46 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Saving data to /azp/_work/1/a/report/scoutsuite-results/scoutsuite_errors_azure-tenant-xyz.json
2025-04-15T12:35:46.6303594Z 2025-04-15 12:35:46 azdevops-deployment-64787f4856-gfh7q scout[304] INFO Creating /azp/_work/1/a/report/azure-tenant-xyz.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpotentialUnconfirmed issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions