Permissions error on tab after Entra reauthorization unless tab is closed and reopened
Preflight Checklist
- [x] I have installed the latest version of Storage Explorer.
- [x] I have checked existing resources, including the troubleshooting guide and the release notes.
- [x] I have searched for similar issues.
Storage Explorer Version
1.35.0
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20240810.1
Platform
Windows
OS Version
23H2 22631.4169
Bug Description
I have an Azure table that requires elevated Contributor permissions to access. If I open a tab in Storage Explorer for this table and get a permissions error, elevating the permissions via Azure Entra and then pressing "Refresh" on the tab still causes a permissions error and no data is shown. I spent an hour trying to find out why and turns out closing and reopening the tab on the same resource works.
Steps to Reproduce
- Open an Azure Table tab that you don't have permissions for
- Note the notification bar with the permissions error
- Elevate permissions via Entra and wait for them to propagate
- Press "Refresh" on the tab with the permissions error, see the error remain
- Close and reopen the tab on the same resource, permissions error should go away
Actual Experience
The "Refresh" button doesn't actually refresh the user credentials if anything changes between the first error and the latest refresh
Expected Experience
I expect "Refresh" to use the latest credentials the user has available to them. It is confusing behavior if there is no indication that the Entra elevation actually worked.
Additional Context
We have an Entra profile for "Contributor" access which is the one being used for protected resources