10-11-2025 01:24 PM
I’m trying to create an Azure Key Vault-backed Secret Scope in Databricks, but when I click Create, I get this error:
Fetch request failed due to expired user session
I’ve already verified my login, permissions. I also tried refreshing and re-signing in, but the issue still persists.
10-11-2025 02:32 PM
Root Cause:
The Databricks workspace UI requires an active authentication session for sensitive operations like creating Secret Scopes.
Extended browser inactivity, resulting in token expir
Browser cache interfering with refresh token mechanisms.
SSO session mismatches, (multiple sign-ins )
Solution thinking:
i would suggest to try the following steps
| Step | Expected Outcome | Context |
| Full sign-out + browser cache clear | Refreshed, valid session token, no error | https://community.databricks.com/t5/user/viewprofilepage/user-id/25639 |
| Incognito/private tab | No session cross-talk, successful API fetch | https://community.databricks.com/t5/user/viewprofilepage/user-id/25639 |
| Use CLI/API with fresh login | Verifies if UI vs API session is at fault | https://community.databricks.com/t5/user/viewprofilepage/user-id/25639 |
| Workspace admin confirmation | Rules out backend config changes | https://community.databricks.com/t5/user/viewprofilepage/user-id/25639 |
10-13-2025 04:04 AM
Hi @SuMiT1 are you using any iac tool like terraform etc. or you want to try out manually using your own identity?
2 weeks ago
HI @SuMiT1 :
I’m facing the exact same issue. Were you able to figure out the root cause? I’d appreciate any pointers to resolve this! I
2 weeks ago - last edited 2 weeks ago
Hi @AnandGNR,
This appears to be a network-related issue. Please check with the networking team that configured the Databricks resource. Also, since this process is outdated, you can consider using the Databricks Access Connector, which is a more efficient approach.
2 weeks ago
Hi @SuMiT1 ,
Certainly seems to be a networking issue but not able to zero down on what precisely needs to be done. I added the control plane ips to the firewall but still no luck.
How do we use Databricks Access Connector to create scopes. Could you give me any pointers/resource links on its usage. I could not find any related info on how we could leverage this approach for KV scopes. We use it for setting the UC etc for Databricks but what would be the steps here. I can certainly give it a try!
Thanks
2 weeks ago - last edited 2 weeks ago
Hi @AnandGNR
Here is the youtube link refer this
https://www.youtube.com/watch?v=6HQCZNW7XwY&t=800s
