The following error was encountered while trying to retrieve the URL: [https://management.azure.com/subscriptions/xxxxxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxxx/providers/Microsoft.Databricks/workspaces?
](https://management.azure.com/subscriptions/xxxxxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxxx/providers/Microsoft.Databricks/workspaces?%3C/a%3E%3C/p%3E)Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
*___________________________________* *Ramdas Murali* Solutions Architect - 214.235.8353 | ***@***.*** On Mon, Nov 4, 2024 at 7:22 AM Pierre Beauvois ***@***.***> wrote: > Hi @arunpamulapatiERROR
The requested URL could not be retrieved
>
The following error was encountered while trying to retrieve the URL: [https://management.azure.com/subscriptions/xxxxxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxxx/providers/Microsoft.Databricks/workspaces?
](https://management.azure.com/subscriptions/xxxxxxxxx-xxxxx-xxxxx-xxxxx-xxxxxxxxxxxxx/providers/Microsoft.Databricks/workspaces?%3C/a%3E%3C/p%3E) >>Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
>Your cache administrator is webmaster.
2024-11-04 13:13:31,658 - profiler - ERROR - Exception encounteredTraceback (most recent call last): File "/root/.ipykernel/1959/command-9139779880878-1615707143", line 4, inis_successful_acct = db_client.check_connection(master_acct=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.ipykernel/1959/command-9139779881055-3150357518", line 39, in check_connection raise Exception(f'Test connection failed {results.reason}')Exception: Test connection failed Forbidden The credentials are the same as the one used with the diagnosis notebook so it must work. Do you have any ideas ?
— Reply to this email directly, view it on GitHub https://github.com/databricks-industry-solutions/security-analysis-tool/issues/174#issuecomment-2454704411, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXPYAJ7FRDWG6JYN35D34DZ65RIPAVCNFSM6AAAAABRAEHK2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUG4YDINBRGE . You are receiving this because you were mentioned.Message ID: <databricks-industry-solutions/security-analysis-tool/issues/174/2454704411 @github.com>
The initializer Notebook on Azure is failing after the first steps.
When reaching the part:
The flow breaks. The specific error happens when
1. list_account_workspaces_to_conf_file
callsaccounts_bootstrap
(see picture below).When checking deeper the underlying error it appears the connection check to the workspace is refused due to a SSL: CERTIFICATE_VERIFY_FAILED error.
Actually the class
dbclient.test_connection
, or any other class which uses urllib3 get does not support a use of the parameterverify=False
.https://github.com/databricks-industry-solutions/security-analysis-tool/blob/61b912254b04590b8c3f26b0f67b76cc3da2ffc1/src/securityanalysistoolproject/core/dbclient.py#L145
The class should give users the choice of turning on or off the SSL certificate verify flag.